irq_domain: Centralize definition of irq_dispose_mapping()
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 24 Feb 2012 15:24:17 +0000 (08:24 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 26 Feb 2012 23:48:06 +0000 (16:48 -0700)
commitd593f25ff263b1a7752b7380f8b7d57809206c40
tree5bb7355eba575cf3d28a928fdf44f435e4e6912a
parentabd2363f6a5f1030b935e0bdc15cf917313b3b10
irq_domain: Centralize definition of irq_dispose_mapping()

Several architectures define their own empty irq_dispose_mapping().  Since
the irq_domain code is centralized now, there is little need to do so.  This
patch removes them and creates a new empty copy when !CONFIG_IRQ_DOMAIN is
selected.

The patch also means that IRQ_DOMAIN becomes selectable on all architectures.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: sparclinux@vger.kernel.org
Cc: linux@lists.openrisc.net
arch/openrisc/include/asm/prom.h
arch/sparc/include/asm/prom.h
include/linux/irqdomain.h
include/linux/of_irq.h