Skip to contentSkip to conversation

ARM: mach-mx5/mx53_ard: Add missing definition

PATCH Superseded Fabio Estevam 2 participants 2 messages Jun 24, 2011 – Jun 25, 2011

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mach-mx5/mx53_ard: Add missing definition

commit 9203d59 (ARM:mach-mx5/mx53_ard: Add I2C2 and I2C3 support) missed to include the define for ARD_I2CPORTEXP_B.

---
 arch/arm/mach-mx5/board-mx53_ard.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-mx5/board-mx53_ard.c +1 -0
index 70ae25e..b94ddeb 100644
@@ -38,6 +38,7 @@
 #define ARD_ETHERNET_INT_B	IMX_GPIO_NR(2, 31)
 #define ARD_SD1_CD		IMX_GPIO_NR(1, 1)
 #define ARD_SD1_WP		IMX_GPIO_NR(1, 9)
+#define ARD_I2CPORTEXP_B        IMX_GPIO_NR(2, 3)
 
 static iomux_v3_cfg_t mx53_ard_pads[] = {
 	/* UART1 */
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 ARM: mach-mx5/mx53_ard: Add missing definition

Hi Fabio,

Quoted 13 lines · Fabio Estevam

commit 9203d59 (ARM:mach-mx5/mx53_ard: Add I2C2 and I2C3 support) missed to include the define for ARD_I2CPORTEXP_B.

---
 arch/arm/mach-mx5/board-mx53_ard.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-mx5/board-mx53_ard.c +0 -0
index 70ae25e..b94ddeb 100644

arch/arm/mach-mx5/board-mx53_ard.c line 41

Quoted 4 lines
arch/arm/mach-mx5/board-mx53_ard.c +1 -0
@@ -38,6 +38,7 @@
 #define ARD_ETHERNET_INT_B	IMX_GPIO_NR(2, 31)
 #define ARD_SD1_CD		IMX_GPIO_NR(1, 1)
 #define ARD_SD1_WP		IMX_GPIO_NR(1, 9)
+#define ARD_I2CPORTEXP_B        IMX_GPIO_NR(2, 3)

The other ARD symbols are indented with tabs, you used spaces. Care to redo this to be consistent?

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |