diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-08-14 00:14:04 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-17 08:31:04 +0200 |
commit | a4395612290c7b70041952add7ad75b534c8b40c (patch) | |
tree | ab8fe16bb514742160f6aa1a3bee9aa775d999a9 /arch/arm | |
parent | df1bac2e2f180752ac3ae04fbc78366720a2074f (diff) | |
download | blackbird-op-linux-a4395612290c7b70041952add7ad75b534c8b40c.tar.gz blackbird-op-linux-a4395612290c7b70041952add7ad75b534c8b40c.zip |
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/arm')
-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 38ebebd9d3bb..72c3ed1cddd5 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 |