[U-Boot] [PATCH] input: key_matrix: fix header inclusion

Michal Simek monstr at monstr.eu
Tue Aug 7 07:04:29 CEST 2012


On 08/06/2012 07:56 PM, Simon Glass wrote:
> On Thu, Aug 2, 2012 at 1:49 PM, Stephan Linz <linz at li-pro.net> wrote:
>> On Microblaze with device tree support enabled we run into
>> the error below.
>>
>> I'm not sure, but I think that all source code should include
>> at least the common.h and just this fix the problem on
>> Microblaz architecture.
>>
>> The error is:
>>
>> In file included from key_matrix.c:29:
>> include/malloc.h:364: error: conflicting types for 'memset'
>> include/linux/string.h:71: error: previous declaration of 'memset' was here
>> include/malloc.h:365: error: conflicting types for 'memcpy'
>> include/linux/string.h:74: error: previous declaration of 'memcpy' was here
>>
>> Signed-off-by: Stephan Linz <linz at li-pro.net>
>> CC: Bernie Thompson <bhthompson at chromium.org>
>> CC: Simon Glass <sjg at chromium.org>
>> CC: Tom Warren <twarren at nvidia.com>
>> CC: Michal Simek <monstr at monstr.eu>
>
> Acked-by: Simon Glass <sjg at chromium.org>

Acked-by: Michal Simek <monstr at monstr.eu>


Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian


More information about the U-Boot mailing list