]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/mach-omap2/board-2430sdp.c
omap2: Fix GPIO numbers and smc91x for 2430sdp
[net-next-2.6.git] / arch / arm / mach-omap2 / board-2430sdp.c
index a11a575745e44c5bcab1d1fd7cc202afeedd06ea..cfdc877fc030254f057eb4da0e6773d3a78c51e6 100644 (file)
@@ -122,11 +122,7 @@ static struct omap_smc91x_platform_data board_smc91x_data = {
 
 static void __init board_smc91x_init(void)
 {
-       if (omap_rev() > OMAP3430_REV_ES1_0)
-               board_smc91x_data.gpio_irq = 6;
-       else
-               board_smc91x_data.gpio_irq = 29;
-
+       omap_mux_init_gpio(149, OMAP_PIN_INPUT);
        gpmc_smc91x_init(&board_smc91x_data);
 }