[PATCH] arm: fix build failure in mach-bcmring/arch.c

Olof Johansson olof at lixom.net
Sat Feb 4 14:30:32 EST 2012


On Mon, Jan 23, 2012 at 4:52 PM, Jiandong Zheng <jdzheng at broadcom.com> wrote:
> On 1/22/2012 12:26 PM, Paul Gortmaker wrote:
>>
>> Upstream commit d1fce9c115eeb93e01c01732dfe9a86cf76009cf
>>
>>     "ARM: restart: bcmring: use new restart hook"
>>
>> breaks building of this platform, since what used to be the
>> last field of the MACHINE_START/END block didn't have a
>> trailing comma.  Once another field was added below, we get:
>>
>> arch/arm/mach-bcmring/arch.c:198: error: request for member 'restart' in
>> something not a structure or union
>>
>> Signed-off-by: Paul Gortmaker<paul.gortmaker at windriver.com>
>>
>> diff --git a/arch/arm/mach-bcmring/arch.c b/arch/arm/mach-bcmring/arch.c
>> index 9e5e755..45c97b1 100644
>> --- a/arch/arm/mach-bcmring/arch.c
>> +++ b/arch/arm/mach-bcmring/arch.c
>> @@ -194,6 +194,6 @@ MACHINE_START(BCMRING, "BCMRING")
>>        .init_early = bcmring_init_early,
>>        .init_irq = bcmring_init_irq,
>>        .timer =&bcmring_timer,
>> -       .init_machine = bcmring_init_machine
>> +       .init_machine = bcmring_init_machine,
>>        .restart = bcmring_restart,
>>  MACHINE_END
>
>
> Acked-by: Jiandong Zheng <jdzheng at broadcom.com>

Thanks, applied to arm-soc fixes for -rc.


-Olof



More information about the linux-arm-kernel mailing list