diff options
author | Tony Lindgren <tony@atomide.com> | 2011-03-11 20:39:51 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-03-11 20:39:51 +0100 |
commit | c7ecea24e26037fdfe9cbe83c9821689336f70d5 (patch) | |
tree | dc9b793322b95de4cffdfd9da6ba2b4ff4d0ee1b /arch/arm/mach-omap2/board-devkit8000.c | |
parent | omap4: board-omap4panda: Initialise the serial pads (diff) | |
download | linux-c7ecea24e26037fdfe9cbe83c9821689336f70d5.tar.xz linux-c7ecea24e26037fdfe9cbe83c9821689336f70d5.zip |
omap2+: mux: Fix compile when CONFIG_OMAP_MUX is not selected
Fix compile when CONFIG_OMAP_MUX is not selected
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-devkit8000.c')
-rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 728f27c5bcb1..472a25b2dadd 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c @@ -625,6 +625,7 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { .reset_gpio_port[2] = -EINVAL }; +#ifdef CONFIG_OMAP_MUX static struct omap_board_mux board_mux[] __initdata = { /* nCS and IRQ for Devkit8000 ethernet */ OMAP3_MUX(GPMC_NCS6, OMAP_MUX_MODE0), @@ -778,6 +779,7 @@ static struct omap_board_mux board_mux[] __initdata = { { .reg_offset = OMAP_MUX_TERMINATOR }, }; +#endif static void __init devkit8000_init(void) { |