Commit ac3dbeef authored by Tony Lindgren's avatar Tony Lindgren

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: default avatarTony Lindgren <tony@atomide.com>
parent 6dd8a682
...@@ -372,7 +372,7 @@ int __init omap2_mux_init(void) ...@@ -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);
......
...@@ -104,7 +104,7 @@ struct omap_board_mux { ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment