[PATCH 11/16] ARM: imx: add a legacy irqdomain for mx31ads

Dong Aisheng aisheng.dong at freescale.com
Mon Jun 18 04:20:27 EDT 2012


On Thu, Jun 14, 2012 at 01:59:42PM +0800, Shawn Guo wrote:
> 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 at linaro.org>
> ---
>  arch/arm/mach-imx/mach-mx31ads.c |   48 ++++++++++++++++++++++++-------------
>  1 files changed, 31 insertions(+), 17 deletions(-)
> 

Acked-by: Dong Aisheng <dong.aisheng at linaro.org>

Regards
Dong Aisheng




More information about the linux-arm-kernel mailing list