From: Tomi Valkeinen Date: Fri, 23 Nov 2012 08:50:32 +0000 (+0200) Subject: OMAPFB: fix compilation error X-Git-Tag: upstream/snapshot3+hdmi~6053^2^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b76c9cdece2b14a23bfddd765f6dac1dd4d0120;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 --- diff --git a/drivers/video/omap2/omapfb/omapfb-ioctl.c b/drivers/video/omap2/omapfb/omapfb-ioctl.c index 3c73adb..442cff4 100644 --- a/drivers/video/omap2/omapfb/omapfb-ioctl.c +++ b/drivers/video/omap2/omapfb/omapfb-ioctl.c @@ -28,6 +28,7 @@ #include #include #include +#include #include