summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-23 09:50:32 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-23 09:50:32 +0100
commit9b76c9cdece2b14a23bfddd765f6dac1dd4d0120 (patch)
treea8f9a485dcc2280f0e70151d0ffa5dd46ec4d33f /drivers/video/omap2
parentOMAPDSS: panel-n8x0: register the DSS driver after SPI probe (diff)
downloadlinux-9b76c9cdece2b14a23bfddd765f6dac1dd4d0120.tar.xz
linux-9b76c9cdece2b14a23bfddd765f6dac1dd4d0120.zip
OMAPFB: fix compilation error
omapfb compilation fails on x86 (but not on omap): drivers/video/omap2/omapfb/omapfb-ioctl.c: In function ‘omapfb_ioctl’: drivers/video/omap2/omapfb/omapfb-ioctl.c:861:23: error: ‘SZ_1M’ undeclared (first use in this function) drivers/video/omap2/omapfb/omapfb-ioctl.c:861:23: note: each undeclared identifier is reported only once for each function it appears in Fix this by including linux/sizes.h. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/omapfb/omapfb-ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-ioctl.c b/drivers/video/omap2/omapfb/omapfb-ioctl.c
index 3c73adbbf5f1..442cff4dea78 100644
--- a/drivers/video/omap2/omapfb/omapfb-ioctl.c
+++ b/drivers/video/omap2/omapfb/omapfb-ioctl.c
@@ -28,6 +28,7 @@
#include <linux/omapfb.h>
#include <linux/vmalloc.h>
#include <linux/export.h>
+#include <linux/sizes.h>
#include <video/omapdss.h>
#include <video/omapvrfb.h>