[PATCH 1/1] ARM: ux500: Fix build errors/warnings when MACH_UX500_DT is not set

Lee Jones lee.jones at linaro.org
Mon Jun 18 03:00:13 EDT 2012


On 17/06/12 18:28, Linus Walleij wrote:
> On Fri, Jun 15, 2012 at 10:42 AM, Lee Jones<lee.jones at linaro.org>  wrote:
>
>> When MACH_UX500_DT and all related Device Tree configurations are forced
>> off the warning and error below prevent the kernel from compiling. This
>> simple patch fixes both issues and allows for full build and boot of
>> ST-Ericsson's low-cost development board, Snowball.
>>
>> Warnings fixed:
>>   arch/arm/mach-ux500/board-mop500.c:680:32: warning: ‘snowball_of_platform_devs’ defined but not used
>>
>> Errors fixed:
>>   arch/arm/mach-ux500/timer.c: In function ‘ux500_timer_init’:
>>   arch/arm/mach-ux500/timer.c:66:3: error: implicit declaration of function ‘of_find_matching_node’
>>   arch/arm/mach-ux500/timer.c:66:6: warning: assignment makes pointer from integer without a cast
>>
>> Cc: stable at vger.kernel.org
>> Signed-off-by: Lee Jones<lee.jones at linaro.org>
>
> Acked-by: Linus Walleij<linus.walleij at linaro.org>
>
> Thanks for fixing, will you send this upstream to the ARM SoC tree please?
> (I've screwed up too many DT patches trying to funnel them, probably becayse I
> don't yet use DT myself.)

Actually, Arnd, can you just hoover this up? I needs to go into the -rc: 
if that's at all possible.

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
M: +44 77 88 633 515
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list