diff options
Diffstat (limited to 'kernel/arch/mips/include/asm/mach-bcm47xx/gpio.h')
-rw-r--r-- | kernel/arch/mips/include/asm/mach-bcm47xx/gpio.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/arch/mips/include/asm/mach-bcm47xx/gpio.h b/kernel/arch/mips/include/asm/mach-bcm47xx/gpio.h new file mode 100644 index 000000000..90daefa24 --- /dev/null +++ b/kernel/arch/mips/include/asm/mach-bcm47xx/gpio.h @@ -0,0 +1,17 @@ +#ifndef __ASM_MIPS_MACH_BCM47XX_GPIO_H +#define __ASM_MIPS_MACH_BCM47XX_GPIO_H + +#include <asm-generic/gpio.h> + +#define gpio_get_value __gpio_get_value +#define gpio_set_value __gpio_set_value + +#define gpio_cansleep __gpio_cansleep +#define gpio_to_irq __gpio_to_irq + +static inline int irq_to_gpio(unsigned int irq) +{ + return -EINVAL; +} + +#endif |