]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix H4 compile
authorTony Lindgren <tony@atomide.com>
Tue, 30 Aug 2005 16:31:04 +0000 (19:31 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 30 Aug 2005 16:31:04 +0000 (19:31 +0300)
Fixed H4 compile as noted by Komal Shah.

arch/arm/mach-omap2/board-h4.c

index 57b12f7e9fb7b5802161daa35d21af993e47f4f2..8ef23f6a2dcd9d883a75da68f9b922fb3f458206 100644 (file)
@@ -69,8 +69,8 @@ static inline void __init h4_init_smc91x(void)
                        OMAP24XX_ETHR_GPIO_IRQ);
                return;
        }
-       omap_set_gpio_triggering(OMAP24XX_ETHR_GPIO_IRQ,
-                                OMAP_GPIO_FALLING_EDGE);
+       set_irq_type(OMAP_GPIO_IRQ(OMAP24XX_ETHR_GPIO_IRQ),
+                                IRQT_FALLING);
        /* Set pin M15 to mux mode 3 -> GPIO#92, disable PU/PD */
        /* FIXME: change this using omap2 mux api when it's ready */
        l = __raw_readl(0xd8000000 + 0x108);