]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP1: Include gpio-omap.h for board-h2 and board-h3
authorTony Lindgren <tony@atomide.com>
Mon, 17 Sep 2012 23:24:20 +0000 (16:24 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 17 Sep 2012 23:28:03 +0000 (16:28 -0700)
Merge of the LED related changes with omap sparse IRQ and
hardware.h related changes causes a build issue otherwise:

arch/arm/mach-omap1/board-h2.c:319: error: implicit declaration of function ‘OMAP_MPUIO’
arch/arm/mach-omap1/board-h2.c:319: error: initializer element is not constant
arch/arm/mach-omap1/board-h2.c:319: error: (near initialization for ‘h2_gpio_led_pins[1].gpio’)

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c

index 44a4ab195fbc54ec0537d24328fed150216d8e3b..fe79c56b2dc0e40a8806a48323b261aef3fe65dd 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/i2c/tps65010.h>
 #include <linux/smc91x.h>
 #include <linux/omapfb.h>
+#include <linux/platform_data/gpio-omap.h>
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index 86cb5a04a404e2ea3b8c89f5fb3051ab1d3583ec..6c46f33894fb709a70abf2bfd7853168d7dd239b 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/i2c/tps65010.h>
 #include <linux/smc91x.h>
 #include <linux/omapfb.h>
+#include <linux/platform_data/gpio-omap.h>
 
 #include <asm/setup.h>
 #include <asm/page.h>