ARM: imx: add a legacy irqdomain for mx31ads
authorShawn Guo <shawn.guo@linaro.org>
Wed, 13 Jun 2012 09:07:25 +0000 (17:07 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2012 13:58:21 +0000 (21:58 +0800)
commit130d8bd7b67ddfcac52437821cf84a1087b19d4e
tree6d0d35123201691617599dbb4acbbe56045f7af9
parentec7828807b14aab647a43c5b4ee2084de273c172
ARM: imx: add a legacy irqdomain for mx31ads

Call irq_alloc_descs to get the irq_base for mx31ads, and add a legacy
irqdomain using the irq_base, so that the mapping between mx31ads
hardware irq and Linux irq number can be dynamically handled by
irqdomain.  As the result, the use of MXC_BOARD_IRQ_START can be
completely removed from mach-mx31ads.c.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
arch/arm/mach-imx/mach-mx31ads.c