diff options
author | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2012-03-29 11:41:02 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-03-29 11:41:02 -0400 |
commit | 21235bdb8aa5e8320b08f79525a45185a52b07df (patch) | |
tree | 6a454ac5222017da4a5e9b74b62b9f09abc88885 /arch/arm | |
parent | e6801afb6bef30c47d4933191f9140e5a475914e (diff) |
ARM: OMAP: Remove OMAP_GPIO_IRQ macro definition
Since all references to OMAP_GPIO_IRQ macro are replaced now
with gpio_to_irq(), this can be removed altogether.
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/include/plat/gpio.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/gpio.h b/arch/arm/plat-omap/include/plat/gpio.h index 9e86ee0aed0a..d4df4142bc59 100644 --- a/arch/arm/plat-omap/include/plat/gpio.h +++ b/arch/arm/plat-omap/include/plat/gpio.h | |||
@@ -158,10 +158,6 @@ | |||
158 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) | 158 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) |
159 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) | 159 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) |
160 | 160 | ||
161 | #define OMAP_GPIO_IRQ(nr) (OMAP_GPIO_IS_MPUIO(nr) ? \ | ||
162 | IH_MPUIO_BASE + ((nr) & 0x0f) : \ | ||
163 | IH_GPIO_BASE + (nr)) | ||
164 | |||
165 | #define METHOD_MPUIO 0 | 161 | #define METHOD_MPUIO 0 |
166 | #define METHOD_GPIO_1510 1 | 162 | #define METHOD_GPIO_1510 1 |
167 | #define METHOD_GPIO_1610 2 | 163 | #define METHOD_GPIO_1610 2 |