diff options
-rw-r--r-- | arch/arm/mach-tegra/include/mach/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/gpio.h b/arch/arm/mach-tegra/include/mach/gpio.h index e31f486d69a..12a7cf6874c 100644 --- a/arch/arm/mach-tegra/include/mach/gpio.h +++ b/arch/arm/mach-tegra/include/mach/gpio.h | |||
@@ -31,7 +31,7 @@ | |||
31 | #define gpio_cansleep __gpio_cansleep | 31 | #define gpio_cansleep __gpio_cansleep |
32 | 32 | ||
33 | #define TEGRA_GPIO_TO_IRQ(gpio) (INT_GPIO_BASE + (gpio)) | 33 | #define TEGRA_GPIO_TO_IRQ(gpio) (INT_GPIO_BASE + (gpio)) |
34 | #define TEGRA_IRQ_TO_GPIO(irq) ((gpio) - INT_GPIO_BASE) | 34 | #define TEGRA_IRQ_TO_GPIO(irq) ((irq) - INT_GPIO_BASE) |
35 | 35 | ||
36 | static inline int gpio_to_irq(unsigned int gpio) | 36 | static inline int gpio_to_irq(unsigned int gpio) |
37 | { | 37 | { |