projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9333d87
)
ARM: mach-imx/mx27_3ds: Use the standard i.MX macro for GPIO numbering
author
Fabio Estevam
<fabio.estevam@freescale.com>
Wed, 22 Jun 2011 12:25:23 +0000
(09:25 -0300)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Thu, 7 Jul 2011 07:06:53 +0000
(09:06 +0200)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-mx27_3ds.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/mach-mx27_3ds.c
b/arch/arm/mach-imx/mach-mx27_3ds.c
index 6e1accf93f811d57b7ab97c463b562a39bd43b82..c60cd3332e81f4f7f502d9d66377dd73360938e4 100644
(file)
--- a/
arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/
arch/arm/mach-imx/mach-mx27_3ds.c
@@
-42,10
+42,10
@@
#include "devices-imx27.h"
-#define SD1_EN_GPIO
(GPIO_PORTB +
25)
-#define OTG_PHY_RESET_GPIO
(GPIO_PORTB +
23)
-#define SPI2_SS0
(GPIO_PORTD +
21)
-#define EXPIO_PARENT_INT
(MXC_INTERNAL_IRQS + GPIO_PORTC + 28
)
+#define SD1_EN_GPIO
IMX_GPIO_NR(2,
25)
+#define OTG_PHY_RESET_GPIO
IMX_GPIO_NR(2,
23)
+#define SPI2_SS0
IMX_GPIO_NR(4,
21)
+#define EXPIO_PARENT_INT
gpio_to_irq(IMX_GPIO_NR(3, 28)
)
static const int mx27pdk_pins[] __initconst = {
/* UART1 */