Skip to contentSkip to conversation

ARM: OMAP1: Include gpio-omap.h for board-h2 and board-h3

PATCH New Tony Lindgren 1 participant 1 message Sep 17, 2012

Subsystems (3)
lore
Share & tools
lore

Tony Lindgren

author reviewer
#0 lore raw

PATCH 1/1 ARM: OMAP1: Include gpio-omap.h for board-h2 and board-h3

Quoted 1 line

From de6ca33a96a6bf61fcb91d3d399703e19ead9d1e Mon Sep 17 00:00:00 2001

From: Tony Lindgren <[email protected]>
Date: Mon, 17 Sep 2012 16:24:20 -0700
Subject: [PATCH] ARM: OMAP1: Include gpio-omap.h for board-h2 and board-h3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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?)

---

Noticed this with current linux next and omap1_defconfig. The arm-soc drivers branch builds fine, but merged with omap-cleanup-sparseirq-for-v3.7 compile breaks.

I'll queue this into cleanup-fixes branch on top of the omap-cleanup-sparseirq-for-v3.7 branch.

arch/arm/mach-omap1/board-h2.c +1 -0
@@ -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>
arch/arm/mach-omap1/board-h3.c +1 -0
@@ -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>