Patchwork ARM: mach-mx5/mx53_ard: Add missing definition

login
register
mail settings
Submitter Fabio Estevam
Date June 24, 2011, 6:07 p.m.
Message ID <1308938870-3062-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/101850/
State New
Headers show

Comments

Fabio Estevam - June 24, 2011, 6:07 p.m.
commit 9203d59 (ARM:mach-mx5/mx53_ard: Add I2C2 and I2C3 support) missed to include
the define for ARD_I2CPORTEXP_B.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mx5/board-mx53_ard.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Uwe Kleine-K├Ânig - June 25, 2011, 8:33 a.m.
Hi Fabio,

On Fri, Jun 24, 2011 at 03:07:50PM -0300, Fabio Estevam wrote:
> commit 9203d59 (ARM:mach-mx5/mx53_ard: Add I2C2 and I2C3 support) missed to include
> the define for ARD_I2CPORTEXP_B.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/mach-mx5/board-mx53_ard.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-mx5/board-mx53_ard.c b/arch/arm/mach-mx5/board-mx53_ard.c
> index 70ae25e..b94ddeb 100644
> --- a/arch/arm/mach-mx5/board-mx53_ard.c
> +++ b/arch/arm/mach-mx5/board-mx53_ard.c
> @@ -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

Patch

diff --git a/arch/arm/mach-mx5/board-mx53_ard.c b/arch/arm/mach-mx5/board-mx53_ard.c
index 70ae25e..b94ddeb 100644
--- a/arch/arm/mach-mx5/board-mx53_ard.c
+++ b/arch/arm/mach-mx5/board-mx53_ard.c
@@ -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 */