blob: 681262359d1c28cfc30b26e4f093fc43930c17a5 [file] [log] [blame]
Eric Miaoe2bb6652009-01-20 14:38:24 +08001#ifndef __ASM_MACH_GPIO_H
2#define __ASM_MACH_GPIO_H
3
Eric Miaoe2bb6652009-01-20 14:38:24 +08004#include <asm-generic/gpio.h>
5
Eric Miaoe2bb6652009-01-20 14:38:24 +08006#define gpio_to_irq(gpio) (IRQ_GPIO_START + (gpio))
7#define irq_to_gpio(irq) ((irq) - IRQ_GPIO_START)
8
Eric Miaoe2bb6652009-01-20 14:38:24 +08009#define __gpio_is_inverted(gpio) (0)
10#define __gpio_is_occupied(gpio) (0)
11
Eric Miaoe2bb6652009-01-20 14:38:24 +080012#include <plat/gpio.h>
13#endif /* __ASM_MACH_GPIO_H */