[PATCH] arm: zynq: Add missing irqchip.h to common.c

Rob Herring robherring2 at gmail.com
Mon Jan 28 09:17:05 EST 2013


On 01/28/2013 06:30 AM, Michal Simek wrote:
> The patch: "ARM: use common irqchip_init for GIC init"
> (sha1: 0529e315bbda5d502c93df2cfafba9bb337fbdf4)
> should also add linux/irqchip.h header.
> 
> Error message:
> arch/arm/mach-zynq/common.c:99:14: error: 'irqchip_init'
>   undeclared here (not in a function)
> 
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>

FYI, there's already a patch posted for this:

http://www.spinics.net/lists/arm-kernel/msg219556.html

Rob
> ---
>  arch/arm/mach-zynq/common.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c
> index 6472a69..cf3ec54 100644
> --- a/arch/arm/mach-zynq/common.c
> +++ b/arch/arm/mach-zynq/common.c
> @@ -24,6 +24,7 @@
>  #include <linux/of_irq.h>
>  #include <linux/of_platform.h>
>  #include <linux/of.h>
> +#include <linux/irqchip.h>
>  
>  #include <asm/mach/arch.h>
>  #include <asm/mach/map.h>
> 



More information about the linux-arm-kernel mailing list