diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-08-13 16:14:04 (GMT) |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-17 06:31:04 (GMT) |
commit | a4395612290c7b70041952add7ad75b534c8b40c (patch) | |
tree | ab8fe16bb514742160f6aa1a3bee9aa775d999a9 /arch | |
parent | df1bac2e2f180752ac3ae04fbc78366720a2074f (diff) | |
download | linux-a4395612290c7b70041952add7ad75b534c8b40c.tar.xz |
gpio/mxc: move irq_to_gpio() into gpio-mxc driver
As irq_to_gpio() is only being used by gpio-mxc driver, it should be
moved from mach/gpio.h into gpio-mxc.c.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/gpio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/include/mach/gpio.h b/arch/arm/plat-mxc/include/mach/gpio.h index 38ebebd..72c3ed1 100644 --- a/arch/arm/plat-mxc/include/mach/gpio.h +++ b/arch/arm/plat-mxc/include/mach/gpio.h @@ -34,6 +34,4 @@ #define gpio_cansleep __gpio_cansleep #define gpio_to_irq __gpio_to_irq -#define irq_to_gpio(irq) ((irq) - MXC_GPIO_IRQ_START) - #endif |