From: Fabio Estevam Date: Tue, 22 Feb 2011 23:24:13 +0000 (-0300) Subject: ARM: imx/mach-mx25_3ds: Use IMX_GPIO_NR instead of hard-coded values X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ddb95fdd25d38a53eb3d227cc1a21f997d3bef7d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ARM: imx/mach-mx25_3ds: Use IMX_GPIO_NR instead of hard-coded values Signed-off-by: Fabio Estevam Signed-off-by: Sascha Hauer --- 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 = { .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) {