From 7049e85220fc11af25cb25b57a897192ebec1e19 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 28 Sep 2012 10:03:03 +0300 Subject: [PATCH] OMAPDSS: add missing include for string.h Both dpi.c and sdi.c use strcmp(), but do not include string.h. With some Kconfig options string.h is included implicitly, but with some other the compilation fails: drivers/video/omap2/dss/dpi.c:407:5: error: implicit declaration of function 'strcmp' Include string.h in both dpi.c and sdi.c Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dpi.c | 1 + drivers/video/omap2/dss/sdi.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index d73a549050e4f..56748cf8760e5 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c @@ -29,6 +29,7 @@ #include #include #include +#include #include