diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-03-04 22:03:19 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-03-22 09:14:31 +0100 |
commit | d31c3a81893e3416ea519d1b1383f319c046641f (patch) | |
tree | d1db8168de0b9879c3380dad22485f4e792aecb6 /drivers/video | |
parent | Linux 3.9-rc3 (diff) | |
download | linux-d31c3a81893e3416ea519d1b1383f319c046641f.tar.xz linux-d31c3a81893e3416ea519d1b1383f319c046641f.zip |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap/omapfb_main.c | 2 |
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" |