diff options
author | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:32 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:32 -0500 |
commit | ca5742bdb58ebb74499731855dccf8f8a858b2e4 (patch) | |
tree | 081a83ab562edc561487c24ca889d133750790e2 /arch/arm/mach-omap2/board-overo.c | |
parent | ddaa912a2164d7ce7a03fcb384ed37e712bb4549 (diff) |
omap: mux: Add new style init functions to omap3 board-*.c files
Add new style mux init functions to omap3 board-*.c files
So far Beagle has been confirmed to be a CBB package,
and CM-T35 a CUS package.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 52dfd51a938e..40f3c85cba30 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <plat/mux.h> | 47 | #include <plat/mux.h> |
48 | #include <plat/usb.h> | 48 | #include <plat/usb.h> |
49 | 49 | ||
50 | #include "mux.h" | ||
50 | #include "sdram-micron-mt46h32m32lf-6.h" | 51 | #include "sdram-micron-mt46h32m32lf-6.h" |
51 | #include "mmc-twl4030.h" | 52 | #include "mmc-twl4030.h" |
52 | 53 | ||
@@ -405,9 +406,17 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
405 | .reset_gpio_port[2] = -EINVAL | 406 | .reset_gpio_port[2] = -EINVAL |
406 | }; | 407 | }; |
407 | 408 | ||
409 | #ifdef CONFIG_OMAP_MUX | ||
410 | static struct omap_board_mux board_mux[] __initdata = { | ||
411 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
412 | }; | ||
413 | #else | ||
414 | #define board_mux NULL | ||
415 | #endif | ||
408 | 416 | ||
409 | static void __init overo_init(void) | 417 | static void __init overo_init(void) |
410 | { | 418 | { |
419 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
411 | overo_i2c_init(); | 420 | overo_i2c_init(); |
412 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); | 421 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); |
413 | omap_serial_init(); | 422 | omap_serial_init(); |