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:
parent
6dd8a6824a
commit
ac3dbeefb8
|
@ -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 {
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue