diff options
author | Eric Bénard <eric@eukrea.com> | 2012-05-08 03:20:26 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-05-08 11:31:25 -0400 |
commit | fc33d40007a67f4b669bc78b66bfe6f63c199049 (patch) | |
tree | bdad8f670e892538f9242d0de7b036ed10b50e97 /arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c | |
parent | ee5dd09138e137708f122c3f982a10442cece70d (diff) |
ARM: imx: eukrea_mbimxsd25: use IMX_GPIO_NR
Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c')
-rw-r--r-- | arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
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[] = { | |||
97 | MX25_PAD_CSPI1_RDY__GPIO_2_22, | 97 | MX25_PAD_CSPI1_RDY__GPIO_2_22, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | #define GPIO_LED1 83 | 100 | #define GPIO_LED1 IMX_GPIO_NR(3, 19) |
101 | #define GPIO_SWITCH1 82 | 101 | #define GPIO_SWITCH1 IMX_GPIO_NR(3, 18) |
102 | #define GPIO_SD1CD 52 | 102 | #define GPIO_SD1CD IMX_GPIO_NR(2, 20) |
103 | #define GPIO_LCDPWR 26 | 103 | #define GPIO_LCDPWR IMX_GPIO_NR(1, 26) |
104 | #define GPIO_SPI1_SS0 IMX_GPIO_NR(1, 16) | 104 | #define GPIO_SPI1_SS0 IMX_GPIO_NR(1, 16) |
105 | #define GPIO_SPI1_SS1 IMX_GPIO_NR(1, 17) | 105 | #define GPIO_SPI1_SS1 IMX_GPIO_NR(1, 17) |
106 | #define GPIO_SPI1_IRQ IMX_GPIO_NR(2, 22) | 106 | #define GPIO_SPI1_IRQ IMX_GPIO_NR(2, 22) |