[PATCH 2/4] ARM i.MX tzic: add handle_irq function

Shawn Guo shawn.guo at freescale.com
Fri Sep 23 13:16:59 EDT 2011


On Tue, Sep 20, 2011 at 02:49:14PM +0200, Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
>  arch/arm/plat-mxc/include/mach/common.h |    4 ++++
>  arch/arm/plat-mxc/tzic.c                |   24 +++++++++++++++++++++++-
>  2 files changed, 27 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h
> index 8de0d0c..2e8802b 100644
> --- a/arch/arm/plat-mxc/include/mach/common.h
> +++ b/arch/arm/plat-mxc/include/mach/common.h
> @@ -74,6 +74,7 @@ extern int mx53_revision(void);
>  extern int mx53_display_revision(void);
>  
>  void avic_handle_irq(struct pt_regs *);
> +void tzic_handle_irq(struct pt_regs *);
>  
>  #define mx1_handle_irq avic_handle_irq
>  #define mx21_handle_irq avic_handle_irq
> @@ -81,5 +82,8 @@ void avic_handle_irq(struct pt_regs *);
>  #define mx27_handle_irq avic_handle_irq
>  #define mx31_handle_irq avic_handle_irq
>  #define mx35_handle_irq avic_handle_irq
> +#define mx50_handle_irq tzic_handle_irq
> +#define mx51_handle_irq tzic_handle_irq
> +#define mx53_handle_irq tzic_handle_irq
>  
Can we start forcing the consistent file/function naming between mx*
and imx*?  I bet imx* will win :)

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list