提交 a579cebd 编写于 作者: S Shawn Guo 提交者: Sascha Hauer

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: NShawn Guo <shawn.guo@linaro.org>
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
上级 7e6c53aa
......@@ -22,8 +22,6 @@
#include <asm-generic/gpio.h>
#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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册