of/irq: Move irq_of_parse_and_map() to common code
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 18 Jun 2010 17:09:59 +0000 (11:09 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 28 Jun 2010 19:41:33 +0000 (12:41 -0700)
commite3873444990dd6f8a095d1f72b5ad45192f8c506
tree9e9fbc43fd4ffde3ac7d41827e0ab9c5f98363f0
parentb505ff5e7291cca6379549297e3852ce3622d550
of/irq: Move irq_of_parse_and_map() to common code

Merge common code between PowerPC and Microblaze.  SPARC implements
irq_of_parse_and_map(), but the implementation is different, so it
does not use this code.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Michal Simek <monstr@monstr.eu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Jeremy Kerr <jeremy.kerr@canonical.com>
13 files changed:
arch/microblaze/include/asm/irq.h
arch/microblaze/include/asm/prom.h
arch/microblaze/kernel/irq.c
arch/powerpc/include/asm/irq.h
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/irq.c
arch/sparc/include/asm/prom.h
drivers/of/Kconfig
drivers/of/Makefile
drivers/of/irq.c [new file with mode: 0644]
drivers/of/of_mdio.c
drivers/of/of_spi.c
include/linux/of_irq.h [new file with mode: 0644]