ARM: tegra: Fix typo in TEGRA_IRQ_TO_GPIO
Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Colin Cross <ccross@android.com>
This commit is contained in:
parent
cd51d0edec
commit
e19e881fcb
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue