Skip to contentSkip to conversation

omap1: mux: add missing include

PATCH RESEND New Aaro Koskinen 2 participants 2 messages Apr 8, 2012 – Apr 9, 2012

Subsystems (3)
lore
Share & tools
lore

Aaro Koskinen

author maintainer
#0 lore raw

PATCH RESEND 1/1 omap1: mux: add missing include

Fix the following build breakage in v3.4-rc2:

arch/arm/mach-omap1/mux.c:89:1: error: 'FUNC_MUX_CTRL_9' undeclared here (not in a function) arch/arm/mach-omap1/mux.c:89:1: error: 'PULL_DWN_CTRL_2' undeclared here (not in a function) arch/arm/mach-omap1/mux.c:93:1: error: 'FUNC_MUX_CTRL_C' undeclared here (not in a function)

etc.

---
 arch/arm/mach-omap1/mux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap1/mux.c +1 -0
index 087dba0..e9cc52d 100644
@@ -27,6 +27,7 @@
 #include <linux/io.h>
 #include <linux/spinlock.h>
 
+#include <mach/hardware.h>
 
 #include <plat/mux.h>
 
Signature · 1 line
1.7.2.5
reviewer
#1 lore raw

PATCH RESEND 1/1 omap1: mux: add missing include

Quoted 19 lines · Aaro Koskinen

Fix the following build breakage in v3.4-rc2:

arch/arm/mach-omap1/mux.c:89:1: error: 'FUNC_MUX_CTRL_9' undeclared here (not in a function) arch/arm/mach-omap1/mux.c:89:1: error: 'PULL_DWN_CTRL_2' undeclared here (not in a function) arch/arm/mach-omap1/mux.c:93:1: error: 'FUNC_MUX_CTRL_C' undeclared here (not in a function)

etc.

---
 arch/arm/mach-omap1/mux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap1/mux.c +0 -0
index 087dba0..e9cc52d 100644

arch/arm/mach-omap1/mux.c line 33

Quoted 7 lines
arch/arm/mach-omap1/mux.c +1 -0
@@ -27,6 +27,7 @@
 #include <linux/io.h>
 #include <linux/spinlock.h>
 
+#include <mach/hardware.h>
 
 #include <plat/mux.h>
 

Thanks for the repost, looks like I missed this one earlier. Applying to fixes.

Tony