diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-23 12:50:32 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-23 12:50:32 +0400 |
commit | 9b76c9cdece2b14a23bfddd765f6dac1dd4d0120 (patch) | |
tree | a8f9a485dcc2280f0e70151d0ffa5dd46ec4d33f | |
parent | ee6352de51c0ee151f1825b5f06f2e6e8ef44594 (diff) | |
download | linux-9b76c9cdece2b14a23bfddd765f6dac1dd4d0120.tar.xz |
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>
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb-ioctl.c | 1 |
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> |