From: Shawn Guo Date: Wed, 13 Jun 2012 01:04:03 +0000 (+0800) Subject: gpio/mxc: move irq_domain_add_legacy call into gpio driver X-Git-Tag: v3.6-rc1~137^2~1^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ab7ef158dfbaf6314b6660a3e3fb037cba2a1ca;p=pandora-kernel.git 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 Cc: Grant Likely Acked-by: Sascha Hauer Acked-by: Dong Aisheng --- Reading git-diff-tree failed