Home
last modified time | relevance | path

Searched hist:c20dbf64a976a40d39694a991d3bf51985cb35f6 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/input/
H A Dkey_matrix.cc20dbf64a976a40d39694a991d3bf51985cb35f6 Thu Aug 02 10:49:24 UTC 2012 Stephan Linz <linz@li-pro.net> input: key_matrix: fix header inclusion

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@li-pro.net>
CC: Bernie Thompson <bhthompson@chromium.org>
CC: Simon Glass <sjg@chromium.org>
CC: Tom Warren <twarren@nvidia.com>
CC: Michal Simek <monstr@monstr.eu>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Michal Simek <monstr@monstr.eu>