From: Eric Bénard Date: Tue, 8 May 2012 07:20:26 +0000 (+0200) Subject: ARM: imx: eukrea_mbimxsd25: use IMX_GPIO_NR X-Git-Tag: firefly_0821_release~3680^2~2828^2~7^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fc33d40007a67f4b669bc78b66bfe6f63c199049;p=firefly-linux-kernel-4.4.55.git ARM: imx: eukrea_mbimxsd25: use IMX_GPIO_NR Signed-off-by: Eric Bénard Cc: Sascha Hauer Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c index fcc366ae9598..dfd2da87c2df 100644 --- a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c @@ -97,10 +97,10 @@ static iomux_v3_cfg_t eukrea_mbimxsd_pads[] = { MX25_PAD_CSPI1_RDY__GPIO_2_22, }; -#define GPIO_LED1 83 -#define GPIO_SWITCH1 82 -#define GPIO_SD1CD 52 -#define GPIO_LCDPWR 26 +#define GPIO_LED1 IMX_GPIO_NR(3, 19) +#define GPIO_SWITCH1 IMX_GPIO_NR(3, 18) +#define GPIO_SD1CD IMX_GPIO_NR(2, 20) +#define GPIO_LCDPWR IMX_GPIO_NR(1, 26) #define GPIO_SPI1_SS0 IMX_GPIO_NR(1, 16) #define GPIO_SPI1_SS1 IMX_GPIO_NR(1, 17) #define GPIO_SPI1_IRQ IMX_GPIO_NR(2, 22)