Merge branch 'next/timer' of git://git.linaro.org/people/arnd/arm-soc
[pandora-kernel.git] / arch / arm / mach-mmp / include / mach / gpio.h
1 #ifndef __ASM_MACH_GPIO_H
2 #define __ASM_MACH_GPIO_H
3
4 #include <asm-generic/gpio.h>
5
6 #define gpio_to_irq(gpio)       (IRQ_GPIO_START + (gpio))
7 #define irq_to_gpio(irq)        ((irq) - IRQ_GPIO_START)
8
9 #define __gpio_is_inverted(gpio)        (0)
10 #define __gpio_is_occupied(gpio)        (0)
11
12 #include <plat/gpio.h>
13 #endif /* __ASM_MACH_GPIO_H */