]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: add missing sizes.h includes
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 28 Sep 2012 10:54:35 +0000 (13:54 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Oct 2012 08:57:08 +0000 (11:57 +0300)
When compiling on x86, we get compilation errors for dss.c and dispc.c:

drivers/video/omap2/dss/dispc.c:126:11: error: ‘SZ_4K’ undeclared here
(not in a function)

include <linux/sizes.h> to fix compilation.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.c

index a5ab354f267ae1a458ae1ba0fd5d6c8104f74b4f..c32ec4ae8b4dfa9e848d5786800716217671d43f 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
+#include <linux/sizes.h>
 
 #include <video/omapdss.h>
 
index 363852a0f76491271a68505fbe4bdbde7673e951..eade3110d12e7e31799785425d444e9b96cf6c67 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 #include <linux/gfp.h>
+#include <linux/sizes.h>
 
 #include <video/omapdss.h>