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>
This commit is contained in:
Tomi Valkeinen 2012-11-23 10:50:32 +02:00
parent ee6352de51
commit 9b76c9cdec

View File

@ -28,6 +28,7 @@
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/export.h> #include <linux/export.h>
#include <linux/sizes.h>
#include <video/omapdss.h> #include <video/omapdss.h>
#include <video/omapvrfb.h> #include <video/omapvrfb.h>