Skip to content

Commit

Permalink
ARM: OMAP1: Fix build related to kgdb.h no longer including serial_82…
Browse files Browse the repository at this point in the history
…50.h

Commit 16559ae (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>
  • Loading branch information
Tony Lindgren committed Mar 4, 2013
1 parent 6dbe51c commit 0adcbaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-omap1/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

#include <plat/i2c.h>

#include <mach/irqs.h>

#if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850)
void omap7xx_map_io(void);
#else
Expand Down
1 change: 1 addition & 0 deletions drivers/video/omap/lcd_ams_delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/lcd.h>
#include <linux/gpio.h>

#include <mach/hardware.h>
#include <mach/board-ams-delta.h>

#include "omapfb.h"
Expand Down
3 changes: 3 additions & 0 deletions drivers/video/omap/lcd_osk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0adcbaf

Please sign in to comment.