Browse Source

omap: mux: Allow compiling in new mux code on all mach-omap2 systems

Allow compiling in new mux code on all mach-omap2 systems

Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren 15 years ago
parent
commit
ac3dbeefb8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/arm/mach-omap2/mux.c
  2. 1 1
      arch/arm/mach-omap2/mux.h

+ 1 - 1
arch/arm/mach-omap2/mux.c

@@ -372,7 +372,7 @@ int __init omap2_mux_init(void)
 
 /*----------------------------------------------------------------------------*/
 
-#ifdef CONFIG_ARCH_OMAP3
+#ifdef CONFIG_ARCH_OMAP2PLUS
 static LIST_HEAD(muxmodes);
 static DEFINE_MUTEX(muxmode_mutex);
 

+ 1 - 1
arch/arm/mach-omap2/mux.h

@@ -104,7 +104,7 @@ struct omap_board_mux {
 	u16	value;
 };
 
-#if defined(CONFIG_OMAP_MUX) && defined(CONFIG_ARCH_OMAP3)
+#if defined(CONFIG_OMAP_MUX)
 
 /**
  * omap_mux_init_gpio - initialize a signal based on the GPIO number