summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/gpio.h')
-rw-r--r--arch/x86/include/asm/gpio.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/include/asm/gpio.h b/arch/x86/include/asm/gpio.h
index 49dbfdfa50f9..91d915a65259 100644
--- a/arch/x86/include/asm/gpio.h
+++ b/arch/x86/include/asm/gpio.h
@@ -38,12 +38,9 @@ static inline int gpio_cansleep(unsigned int gpio)
return __gpio_cansleep(gpio);
}
-/*
- * Not implemented, yet.
- */
static inline int gpio_to_irq(unsigned int gpio)
{
- return -ENOSYS;
+ return __gpio_to_irq(gpio);
}
static inline int irq_to_gpio(unsigned int irq)