Skip to content

Commit

Permalink
ARM: tegra: Fix typo in TEGRA_IRQ_TO_GPIO
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>
  • Loading branch information
Stephen Warren authored and Colin Cross committed Feb 22, 2011
1 parent cd51d0e commit e19e881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e19e881

Please sign in to comment.