Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a579cebd authored by Shawn Guo's avatar Shawn Guo Committed by Sascha Hauer
Browse files

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: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 7e6c53aa
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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