diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-28 10:03:03 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-28 10:03:03 +0300 |
commit | 13b1ba7de8d0ecc42e4f9c002d5b0c1a48f05e58 (patch) | |
tree | fa2c5844f910247ef10b38e6c431006c90fba618 /drivers/video/omap2/dss/dpi.c | |
parent | 69036f0ccd9d48b4e999be4e98fa459430ec93b4 (diff) | |
download | linux-rt-13b1ba7de8d0ecc42e4f9c002d5b0c1a48f05e58.tar.gz |
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 <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dpi.c')
-rw-r--r-- | drivers/video/omap2/dss/dpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index d73a549050e4..56748cf8760e 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c @@ -29,6 +29,7 @@ #include <linux/errno.h> #include <linux/platform_device.h> #include <linux/regulator/consumer.h> +#include <linux/string.h> #include <video/omapdss.h> |