diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-13 10:55:46 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-01 21:57:37 +0800 |
commit | 544496ab5cbdae312351da4c742ae70cab08dbf2 (patch) | |
tree | 4616bfbe170dcef54dc9673e69d170d04f84d1de /arch/arm/mach-imx/mach-mx31moboard.c | |
parent | f3eac29da1f6a477722b56ff00228e8a13f8f6c6 (diff) | |
download | talos-obmc-linux-544496ab5cbdae312351da4c742ae70cab08dbf2.tar.gz talos-obmc-linux-544496ab5cbdae312351da4c742ae70cab08dbf2.zip |
ARM: imx: move irq_domain_add_legacy call into avic driver
Move irq_domain_add_legacy call from imx27-dt.c into avic init function
and have the avic driver adopt irqdomain support for both DT and non-DT
boot.
Now avic init function calls irq_alloc_descs to get irq_base and adds
a lenacy irqdomain with the irq_base, so that the mapping between avic
irq and Linux irq number can be handled by irqdomain.
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>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx31moboard.c')
0 files changed, 0 insertions, 0 deletions