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 | 4896e3940a063fb03195d05806d28970dc3f102b (patch) | |
tree | f3ce32ae903d1ddb831d212d73a93b91c25da03d /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | b63128e81214cc2db2995d690438055c26d213a5 (diff) |
omap: mux: Replace omap_cfg_reg() with new style signal or gpio functions
Replace omap_cfg_reg() with new style signal or gpio functions
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 15ce6514c5fd..81444209700e 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <plat/onenand.h> | 33 | #include <plat/onenand.h> |
34 | #include <plat/gpmc-smc91x.h> | 34 | #include <plat/gpmc-smc91x.h> |
35 | 35 | ||
36 | #include "mux.h" | ||
36 | #include "mmc-twl4030.h" | 37 | #include "mmc-twl4030.h" |
37 | 38 | ||
38 | #define SYSTEM_REV_B_USES_VAUX3 0x1699 | 39 | #define SYSTEM_REV_B_USES_VAUX3 0x1699 |
@@ -630,9 +631,9 @@ static struct omap_smc91x_platform_data board_smc91x_data = { | |||
630 | 631 | ||
631 | static void __init board_smc91x_init(void) | 632 | static void __init board_smc91x_init(void) |
632 | { | 633 | { |
633 | omap_cfg_reg(U8_34XX_GPIO54_DOWN); | 634 | omap_mux_init_gpio(54, OMAP_PIN_INPUT_PULLDOWN); |
634 | omap_cfg_reg(G25_34XX_GPIO86_OUT); | 635 | omap_mux_init_gpio(86, OMAP_PIN_OUTPUT); |
635 | omap_cfg_reg(H19_34XX_GPIO164_OUT); | 636 | omap_mux_init_gpio(164, OMAP_PIN_OUTPUT); |
636 | 637 | ||
637 | gpmc_smc91x_init(&board_smc91x_data); | 638 | gpmc_smc91x_init(&board_smc91x_data); |
638 | } | 639 | } |