Skip to content

Commit

Permalink
arm/mxs: move MXS_GPIO_NR into mach/mxs.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn Guo authored and Sascha Hauer committed Aug 17, 2011
1 parent 7e6c53a commit a579ceb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-mxs/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a579ceb

Please sign in to comment.