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>
This commit is contained in:
Tony Lindgren 2010-07-05 16:31:36 +03:00
parent 6dd8a6824a
commit ac3dbeefb8
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -104,7 +104,7 @@ struct omap_board_mux {
u16 value; 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 * omap_mux_init_gpio - initialize a signal based on the GPIO number