summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2013-03-04 23:03:19 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-03-22 10:14:31 +0200
commitd31c3a81893e3416ea519d1b1383f319c046641f (patch)
treed1db8168de0b9879c3380dad22485f4e792aecb6
parenta937536b868b8369b98967929045f1df54234323 (diff)
downloadlinux-d31c3a81893e3416ea519d1b1383f319c046641f.tar.bz2
omapfb: fix broken build on OMAP1
Fix the following build regression in 3.9-rc1 by including <mach/hardware.h>: drivers/video/omap/omapfb_main.c: In function 'set_fb_var': drivers/video/omap/omapfb_main.c:505:3: error: implicit declaration of function 'cpu_is_omap15xx' [-Werror=implicit-function-declaration] Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/omap/omapfb_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c
index e31f5b33b501..d40612c31a98 100644
--- a/drivers/video/omap/omapfb_main.c
+++ b/drivers/video/omap/omapfb_main.c
@@ -32,6 +32,8 @@
#include <linux/omap-dma.h>
+#include <mach/hardware.h>
+
#include "omapfb.h"
#include "lcdc.h"