aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asm-arm/arch-s3c2410/gpio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-arm/arch-s3c2410/gpio.h b/include/asm-arm/arch-s3c2410/gpio.h
index b2bc7bfea63..45228c8a92c 100644
--- a/include/asm-arm/arch-s3c2410/gpio.h
+++ b/include/asm-arm/arch-s3c2410/gpio.h
@@ -55,9 +55,9 @@ static inline int gpio_direction_output(unsigned gpio, int value)
#define gpio_to_irq(gpio) s3c2400_gpio_getirq(gpio)
#else
#define gpio_to_irq(gpio) s3c2410_gpio_getirq(gpio)
-#define irq_to_gpio(irq) s3c2410_irq_to_gpio(irq)
+#define irq_to_gpio(irq) s3c2410_gpio_irq2pin(irq)
#endif
-/* FIXME implement irq_to_gpio() */
-
#include <asm-generic/gpio.h>
+#endif
+