Re: [PATCH] ARM: ux500: Fix build error due to missing include ofasm/pmu.h in cpu-db8500.c

From: Axel Lin
Date: Mon Sep 03 2012 - 07:41:17 EST


2012/9/3 Linus Walleij <linus.walleij@xxxxxxxxxx>:
> On Sun, Sep 2, 2012 at 2:25 PM, Axel Lin <axel.lin@xxxxxxxxx> wrote:
>
>> Include asm/pmu.h to fix below build error:
>>
>> CC arch/arm/mach-ux500/cpu-db8500.o
>> arch/arm/mach-ux500/cpu-db8500.c:118:8: error: variable 'db8500_pmu_platdata' has initializer but incomplete type
>> arch/arm/mach-ux500/cpu-db8500.c:119:2: error: unknown field 'handle_irq' specified in initializer
>> arch/arm/mach-ux500/cpu-db8500.c:119:2: warning: excess elements in struct initializer [enabled by default]
>> arch/arm/mach-ux500/cpu-db8500.c:119:2: warning: (near initialization for 'db8500_pmu_platdata') [enabled by default]
>> make[1]: *** [arch/arm/mach-ux500/cpu-db8500.o] Error 1
>> make: *** [arch/arm/mach-ux500] Error 2
>>
>> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
>
> That's on linux-next not on v3.6-rcN right?
Yes, This patch is against linux-next tree.

>
> I've applied it to my ux500 branch and will carry it unless Will Deacon
> express an interest in it, PMU is his territory...

Thanks,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/