linux/arch/powerpc/platforms/512x
Grant Likely a8db8cf0d8 irq_domain: Replace irq_alloc_host() with revmap-specific initializers
Each revmap type has different arguments for setting up the revmap.
This patch splits up the generator functions so that each revmap type
can do its own setup and the user doesn't need to keep track of how
each revmap type handles the arguments.

This patch also adds a host_data argument to the generators.  There are
cases where the host_data pointer will be needed before the function returns.
ie. the legacy map calls the .map callback for each irq before returning.

v2: - Add void *host_data argument to irq_domain_add_*() functions
    - fixed failure to compile
    - Moved IRQ_DOMAIN_MAP_* defines into irqdomain.c

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Milton Miller <miltonm@bga.com>
Tested-by: Olof Johansson <olof@lixom.net>
2012-02-16 06:11:22 -07:00
..
clock.c powerpc: Fix up modules that should be including module.h 2011-10-31 19:30:38 -04:00
Kconfig powerpc/mpc5121: drop "select MPC5121_ADS_CPLD" 2011-11-13 20:57:45 +01:00
Makefile powerpc/5121: add initial support for PDM360NG board 2010-08-01 17:06:44 -06:00
mpc512x_shared.c drivers/video: fsl-diu-fb: only DIU modes 0 and 1 are supported 2011-10-05 01:10:12 +00:00
mpc512x.h powerpc/5121: shared DIU framebuffer support 2010-08-01 17:06:44 -06:00
mpc5121_ads_cpld.c irq_domain: Replace irq_alloc_host() with revmap-specific initializers 2012-02-16 06:11:22 -07:00
mpc5121_ads.c powerpc/5121: shared DIU framebuffer support 2010-08-01 17:06:44 -06:00
mpc5121_ads.h powerpc/mpc5121: Add support for CPLD on MPC5121ADS board 2008-07-12 12:10:55 -06:00
mpc5121_generic.c of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
pdm360ng.c powerpc/5121: add initial support for PDM360NG board 2010-08-01 17:06:44 -06:00