summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/gpio.h')
-rw-r--r--arch/xtensa/include/asm/gpio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/xtensa/include/asm/gpio.h b/arch/xtensa/include/asm/gpio.h
index 0763b07..a8c9fc4 100644
--- a/arch/xtensa/include/asm/gpio.h
+++ b/arch/xtensa/include/asm/gpio.h
@@ -38,14 +38,14 @@ 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);
}
+/*
+ * Not implemented, yet.
+ */
static inline int irq_to_gpio(unsigned int irq)
{
return -EINVAL;
OpenPOWER on IntegriCloud