summaryrefslogtreecommitdiff
path: root/drivers/video/omap/lcd_osk.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-02-12 02:46:00 +0400
committerTony Lindgren <tony@atomide.com>2013-03-04 23:12:16 +0400
commit0adcbaf78f6267baf4eecc201107d8f8ff3b200c (patch)
treecd3b716a0045af08478bb5e18452d332670ec00f /drivers/video/omap/lcd_osk.c
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
downloadlinux-0adcbaf78f6267baf4eecc201107d8f8ff3b200c.tar.xz
ARM: OMAP1: Fix build related to kgdb.h no longer including serial_8250.h
Commit 16559ae4 (kgdb: remove #include <linux/serial_8250.h> from kgdb.h) had a side effect of breaking omap1_defconfig build as some headers were included indirectly: arch/arm/mach-omap1/board-h2.c:249: error: ‘INT_KEYBOARD’ undeclared here (not in a function) ... This worked earlier as linux/serial_8250.h included linux/serial_core.h, via linux/serial_8250.h from linux/kgdb.h. Fix this by including the necessary headers directly. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/video/omap/lcd_osk.c')
-rw-r--r--drivers/video/omap/lcd_osk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap/lcd_osk.c b/drivers/video/omap/lcd_osk.c
index 3aa62da89195..7fbe04bce0ed 100644
--- a/drivers/video/omap/lcd_osk.c
+++ b/drivers/video/omap/lcd_osk.c
@@ -24,7 +24,10 @@
#include <linux/platform_device.h>
#include <asm/gpio.h>
+
+#include <mach/hardware.h>
#include <mach/mux.h>
+
#include "omapfb.h"
static int osk_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev)