summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-3630sdp.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2009-12-12 01:16:32 +0100
committerTony Lindgren <tony@atomide.com>2009-12-12 01:16:32 +0100
commit4896e3940a063fb03195d05806d28970dc3f102b (patch)
treef3ce32ae903d1ddb831d212d73a93b91c25da03d /arch/arm/mach-omap2/board-3630sdp.c
parentomap: Split i2c platform init for mach-omap1 and mach-omap2 (diff)
downloadlinux-4896e3940a063fb03195d05806d28970dc3f102b.tar.xz
linux-4896e3940a063fb03195d05806d28970dc3f102b.zip
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-xarch/arm/mach-omap2/board-3630sdp.c5
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 = {