Subject: [RFC PATCH 04/10] ARM: it8152: explicitly include mach/irqs.h

From: [email-masked] (Rob Herring)
Date: Fri, 13 Jan 2012 16:02:47 -0600

On 01/13/2012 10:34 AM, Rob Herring wrote:
> From: Rob Herring <[email-masked]>
> 
> In preparation to make mach/irqs.h optional, directly include mach/irq.h
> to get IRQ_BOARD_START.
> 
> Signed-off-by: Rob Herring <[email-masked]>
> ---
>  arch/arm/include/asm/hardware/it8152.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/include/asm/hardware/it8152.h b/arch/arm/include/asm/hardware/it8152.h
> index 43cab49..73f84fa 100644
> --- a/arch/arm/include/asm/hardware/it8152.h
> +++ b/arch/arm/include/asm/hardware/it8152.h
> @@ -9,6 +9,9 @@
>  
>  #ifndef __ASM_HARDWARE_IT8152_H
>  #define __ASM_HARDWARE_IT8152_H
> +
> +#include <mach/irqs.h>
> +

This include is needed for IRQ_BOARD_START which could also be
problematic outside a single mach dir. The IT8152 is only used on 1
family of pxa2xx boards. The part and board with it are EOL as well, so
we're not going to see new users of this code. Perhaps the it8152 code
should just be moved into mach-pxa?

Rob