MIPS: ath79: Move the GPIO driver to drivers/gpio
[linux-drm-fsl-dcu.git] / arch / mips / include / asm / mach-bcm47xx / gpio.h
1 #ifndef __ASM_MIPS_MACH_BCM47XX_GPIO_H
2 #define __ASM_MIPS_MACH_BCM47XX_GPIO_H
3
4 #include <asm-generic/gpio.h>
5
6 #define gpio_get_value __gpio_get_value
7 #define gpio_set_value __gpio_set_value
8
9 #define gpio_cansleep __gpio_cansleep
10 #define gpio_to_irq __gpio_to_irq
11
12 static inline int irq_to_gpio(unsigned int irq)
13 {
14         return -EINVAL;
15 }
16
17 #endif