From: Shawn Guo Date: Sat, 13 Aug 2011 16:14:07 +0000 (+0800) Subject: arm/mxs: move MXS_GPIO_NR into mach/mxs.h X-Git-Tag: v3.2-rc1~98^2~14^3 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=a579cebd76d87fc5c81b8752783632e63c002dcc;p=~andy%2Flinux 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 Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/mach-mxs/include/mach/gpio.h b/arch/arm/mach-mxs/include/mach/gpio.h index 0a95d58b13f..56025aa0a63 100644 --- a/arch/arm/mach-mxs/include/mach/gpio.h +++ b/arch/arm/mach-mxs/include/mach/gpio.h @@ -22,8 +22,6 @@ #include -#define MXS_GPIO_NR(bank, nr) ((bank) * 32 + (nr)) - /* use gpiolib dispatchers */ #define gpio_get_value __gpio_get_value #define gpio_set_value __gpio_set_value