From: Stephen Warren Date: Sun, 20 Feb 2011 03:38:54 +0000 (-0700) Subject: ARM: tegra: Fix typo in TEGRA_IRQ_TO_GPIO X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e19e881fcbd08bac0e6c9187ade8e3802d8334df;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ARM: tegra: Fix typo in TEGRA_IRQ_TO_GPIO Signed-off-by: Stephen Warren Signed-off-by: Colin Cross --- diff --git a/arch/arm/mach-tegra/include/mach/gpio.h b/arch/arm/mach-tegra/include/mach/gpio.h index e31f486d69a2..12a7cf6874cd 100644 --- a/arch/arm/mach-tegra/include/mach/gpio.h +++ b/arch/arm/mach-tegra/include/mach/gpio.h @@ -31,7 +31,7 @@ #define gpio_cansleep __gpio_cansleep #define TEGRA_GPIO_TO_IRQ(gpio) (INT_GPIO_BASE + (gpio)) -#define TEGRA_IRQ_TO_GPIO(irq) ((gpio) - INT_GPIO_BASE) +#define TEGRA_IRQ_TO_GPIO(irq) ((irq) - INT_GPIO_BASE) static inline int gpio_to_irq(unsigned int gpio) {