diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-02-22 18:24:13 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-28 03:28:43 -0500 |
commit | ddb95fdd25d38a53eb3d227cc1a21f997d3bef7d (patch) | |
tree | 91fd9a2fe10667039edddcbbe3e100e8848f9745 | |
parent | 510dc2ec6849f1ca8ab829b8149d08b955db381b (diff) |
ARM: imx/mach-mx25_3ds: Use IMX_GPIO_NR instead of hard-coded values
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-imx/mach-mx25_3ds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c index aafc6f7f1816..66b6cdd5821e 100644 --- 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 = { | |||
109 | .phy = PHY_INTERFACE_MODE_RMII, | 109 | .phy = PHY_INTERFACE_MODE_RMII, |
110 | }; | 110 | }; |
111 | 111 | ||
112 | #define FEC_ENABLE_GPIO 35 | 112 | #define FEC_ENABLE_GPIO IMX_GPIO_NR(2, 3) |
113 | #define FEC_RESET_B_GPIO 104 | 113 | #define FEC_RESET_B_GPIO IMX_GPIO_NR(4, 8) |
114 | 114 | ||
115 | static void __init mx25pdk_fec_reset(void) | 115 | static void __init mx25pdk_fec_reset(void) |
116 | { | 116 | { |