diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-08-13 12:14:07 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-17 02:33:04 -0400 |
commit | a579cebd76d87fc5c81b8752783632e63c002dcc (patch) | |
tree | ff2d049f388e4f43ef4fe60394136f427edee6ec | |
parent | 7e6c53aac38eec4e7bca1e4e9a5a6d7e45b30784 (diff) |
arm/mxs: move MXS_GPIO_NR into mach/mxs.h
The patch moves MXS_GPIO_NR into mach/mxs.h, so that we only use
standard gpiolib helpers in mach/gpio.h.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-mxs/include/mach/gpio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/include/mach/gpio.h b/arch/arm/mach-mxs/include/mach/gpio.h index 0a95d58b13f6..56025aa0a639 100644 --- a/arch/arm/mach-mxs/include/mach/gpio.h +++ b/arch/arm/mach-mxs/include/mach/gpio.h | |||
@@ -22,8 +22,6 @@ | |||
22 | 22 | ||
23 | #include <asm-generic/gpio.h> | 23 | #include <asm-generic/gpio.h> |
24 | 24 | ||
25 | #define MXS_GPIO_NR(bank, nr) ((bank) * 32 + (nr)) | ||
26 | |||
27 | /* use gpiolib dispatchers */ | 25 | /* use gpiolib dispatchers */ |
28 | #define gpio_get_value __gpio_get_value | 26 | #define gpio_get_value __gpio_get_value |
29 | #define gpio_set_value __gpio_set_value | 27 | #define gpio_set_value __gpio_set_value |