713564b8e8ef951aba1a17744cbc662f09deff8d
[linux-drm-fsl-dcu.git] / arch / mips / include / asm / mach-ath25 / gpio.h
1 #ifndef __ASM_MACH_ATH25_GPIO_H
2 #define __ASM_MACH_ATH25_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 #define gpio_cansleep __gpio_cansleep
9 #define gpio_to_irq __gpio_to_irq
10
11 static inline int irq_to_gpio(unsigned irq)
12 {
13         return -EINVAL;
14 }
15
16 #endif  /* __ASM_MACH_ATH25_GPIO_H */