summaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-13 09:04:03 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-07-01 21:57:22 +0800
commit1ab7ef158dfbaf6314b6660a3e3fb037cba2a1ca (patch)
tree185ffbcf9922139023bcc282ac37b2626a79facb /arch/h8300
parent438196c371cb32f0eacaf2a44166d9a0cf37c4a8 (diff)
gpio/mxc: move irq_domain_add_legacy call into gpio driver
Move irq_domain_add_legacy call from imx*-dt.c into gpio driver and have the gpio driver adopt irqdomain support for both DT and non-DT boot. With all imx platform code converted from static gpio irq number computation to use run-time gpio_to_irq call, we can now use irq_alloc_descs and irqdomain support to dynamically get irq_base and have the mapping between gpio and irq number available without using virtual_irq_start and MXC_GPIO_IRQ_START. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions