diff options
author | Tony Lindgren <tony@atomide.com> | 2010-08-02 07:21:39 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-02 07:21:39 -0400 |
commit | 25d6f63093ef5fa596318d7790e6d5029a711a75 (patch) | |
tree | 97c5969b67ee813224c5118689a843bbd574313f /arch/arm/mach-omap2/board-2430sdp.c | |
parent | 8b8fbd39e20b5db95f8f4b3bda4c9d3fcf8e3afc (diff) |
omap2: Fix GPIO numbers and smc91x for 2430sdp
Fix GPIO numbers and smc91x for 2430sdp. The earlier code
had cut and paste errors from 3430sdp code. Also, 2430
has five GPIO banks for a total of 160 GPIO lines.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-2430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index a11a575745e4..cfdc877fc030 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -122,11 +122,7 @@ static struct omap_smc91x_platform_data board_smc91x_data = { | |||
122 | 122 | ||
123 | static void __init board_smc91x_init(void) | 123 | static void __init board_smc91x_init(void) |
124 | { | 124 | { |
125 | if (omap_rev() > OMAP3430_REV_ES1_0) | 125 | omap_mux_init_gpio(149, OMAP_PIN_INPUT); |
126 | board_smc91x_data.gpio_irq = 6; | ||
127 | else | ||
128 | board_smc91x_data.gpio_irq = 29; | ||
129 | |||
130 | gpmc_smc91x_init(&board_smc91x_data); | 126 | gpmc_smc91x_init(&board_smc91x_data); |
131 | } | 127 | } |
132 | 128 | ||