omap: mux: Allow compiling in new mux code on all mach-omap2 systems
authorTony Lindgren <tony@atomide.com>
Mon, 5 Jul 2010 13:31:36 +0000 (16:31 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 5 Jul 2010 13:31:36 +0000 (16:31 +0300)
Allow compiling in new mux code on all mach-omap2 systems

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/mux.h

index 76b5bf761d1df4f8b0511b0b817b4d9585aedb38..197e2955843bffb579a05752f2451003ffa9c20b 100644 (file)
@@ -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);
 
index 46315f2cad571506265e47764e50443fdb1a8713..937a8ca02e123389503cdd32693c89553b052cf6 100644 (file)
@@ -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