[PATCH 1/2] imx/mx3: fix FTBFS for undefined symbols mx31_usbh1 and mx31_usbh2

Valentin Longchamp valentin.longchamp at epfl.ch
Mon Dec 21 09:59:28 EST 2009


Hallo Uwe,

Uwe Kleine-König wrote:
> Use the symbols mxc_usbh1 and mxc_usbh2 introduced in
> 
> 	c13a482 (MX3: Add USB platform devices and resources)
> 
> instead.

I have sent a patch to fix this. It was first sent on December, 4th and 
again on December, 18th 
(http://article.gmane.org/gmane.linux.ports.arm.kernel/71126)

I hope it will be picked for next -rc.

Best Regards

Val

> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Valentin Longchamp <valentin.longchamp at epfl.ch>
> Cc: Daniel Mack <daniel at caiaq.de>
> ---
>  arch/arm/mach-mx3/mach-mx31moboard.c     |    2 +-
>  arch/arm/mach-mx3/mx31moboard-devboard.c |    2 +-
>  arch/arm/mach-mx3/mx31moboard-marxbot.c  |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-mx3/mach-mx31moboard.c b/arch/arm/mach-mx3/mach-mx31moboard.c
> index be7d277..949b4de 100644
> --- a/arch/arm/mach-mx3/mach-mx31moboard.c
> +++ b/arch/arm/mach-mx3/mach-mx31moboard.c
> @@ -392,7 +392,7 @@ static int __init moboard_usbh2_init(void)
>  	usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
>  			USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT);
>  
> -	return mxc_register_device(&mx31_usbh2, &usbh2_pdata);
> +	return mxc_register_device(&mxc_usbh2, &usbh2_pdata);
>  }
>  
>  
> diff --git a/arch/arm/mach-mx3/mx31moboard-devboard.c b/arch/arm/mach-mx3/mx31moboard-devboard.c
> index 8fc624f..438428e 100644
> --- a/arch/arm/mach-mx3/mx31moboard-devboard.c
> +++ b/arch/arm/mach-mx3/mx31moboard-devboard.c
> @@ -179,7 +179,7 @@ static int __init devboard_usbh1_init(void)
>  
>  	usbh1_pdata.otg = otg;
>  
> -	return mxc_register_device(&mx31_usbh1, &usbh1_pdata);
> +	return mxc_register_device(&mxc_usbh1, &usbh1_pdata);
>  }
>  
>  /*
> diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c
> index 85184a3..1f44b9c 100644
> --- a/arch/arm/mach-mx3/mx31moboard-marxbot.c
> +++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c
> @@ -294,7 +294,7 @@ static int __init marxbot_usbh1_init(void)
>  
>  	usbh1_pdata.otg = otg;
>  
> -	return mxc_register_device(&mx31_usbh1, &usbh1_pdata);
> +	return mxc_register_device(&mxc_usbh1, &usbh1_pdata);
>  }
>  
>  /*


-- 
Valentin Longchamp, PhD Student, EPFL-STI-LSRO1
valentin.longchamp at epfl.ch, Phone: +41216937827
http://people.epfl.ch/valentin.longchamp
MEA3485, Station 9, CH-1015 Lausanne



More information about the linux-arm-kernel mailing list