diff options
author | Tony Lindgren <tony@atomide.com> | 2009-12-12 03:16:32 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-12-12 03:16:32 +0300 |
commit | 4896e3940a063fb03195d05806d28970dc3f102b (patch) | |
tree | f3ce32ae903d1ddb831d212d73a93b91c25da03d /arch/arm/mach-omap2/board-3630sdp.c | |
parent | b63128e81214cc2db2995d690438055c26d213a5 (diff) | |
download | linux-4896e3940a063fb03195d05806d28970dc3f102b.tar.xz |
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-3630sdp.c')
-rwxr-xr-x | arch/arm/mach-omap2/board-3630sdp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index 348b70b98336..e6cbc27dd107 100755 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c @@ -23,6 +23,7 @@ #include <mach/board-zoom.h> +#include "mux.h" #include "sdram-hynix-h8mbx00u0mer-0em.h" #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) @@ -48,7 +49,9 @@ static inline void board_smc91x_init(void) static void enable_board_wakeup_source(void) { - omap_cfg_reg(AF26_34XX_SYS_NIRQ); /* T2 interrupt line (keypad) */ + /* T2 interrupt line (keypad) */ + omap_mux_init_signal("sys_nirq", + OMAP_WAKEUP_EN | OMAP_PIN_INPUT_PULLUP); } static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { |