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:
510dc2e
)
ARM: imx/mach-mx25_3ds: Use IMX_GPIO_NR instead of hard-coded values
author
Fabio Estevam
<fabio.estevam@freescale.com>
Tue, 22 Feb 2011 23:24:13 +0000
(20:24 -0300)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Mon, 28 Feb 2011 08:28:43 +0000
(09:28 +0100)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-mx25_3ds.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/mach-mx25_3ds.c
b/arch/arm/mach-imx/mach-mx25_3ds.c
index aafc6f7f1816f84af6ca93f7bb3243f9ae8f7aad..66b6cdd5821ed2d928d1c6232eaa27b15d211b0c 100644
(file)
--- a/
arch/arm/mach-imx/mach-mx25_3ds.c
+++ b/
arch/arm/mach-imx/mach-mx25_3ds.c
@@
-109,8
+109,8
@@
static const struct fec_platform_data mx25_fec_pdata __initconst = {
.phy = PHY_INTERFACE_MODE_RMII,
};
-#define FEC_ENABLE_GPIO
35
-#define FEC_RESET_B_GPIO
104
+#define FEC_ENABLE_GPIO
IMX_GPIO_NR(2, 3)
+#define FEC_RESET_B_GPIO
IMX_GPIO_NR(4, 8)
static void __init mx25pdk_fec_reset(void)
{