[U-Boot] [PATCH] EXYNOS: Fix USB compiler warning

Marek Vasut marex at denx.de
Tue Jul 10 07:37:31 CEST 2012


Dear Rajeshwari Shinde,

> Fixed the compiler warning message.

Acked-by: Marek Vasut <marex at denx.de>

> Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>
> ---
>  arch/arm/cpu/armv7/exynos/system.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv7/exynos/system.c
> b/arch/arm/cpu/armv7/exynos/system.c index cc6ee03..4426611 100644
> --- a/arch/arm/cpu/armv7/exynos/system.c
> +++ b/arch/arm/cpu/armv7/exynos/system.c
> @@ -29,7 +29,6 @@ static void exynos5_set_usbhost_mode(unsigned int mode)
>  {
>  	struct exynos5_sysreg *sysreg =
>  		(struct exynos5_sysreg *)samsung_get_base_sysreg();
> -	unsigned int phy_cfg;
> 
>  	/* Setting USB20PHY_CONFIG register to USB 2.0 HOST link */
>  	if (mode == USB20_PHY_CFG_HOST_LINK_EN) {

Best regards,
Marek Vasut


More information about the U-Boot mailing list