From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Date: Tue, 10 Jul 2012 14:48:04 +0900 Subject: [U-Boot] [PATCH] EXYNOS: Fix USB compiler warning In-Reply-To: <1341898474-14729-1-git-send-email-rajeshwari.s@samsung.com> References: <1341898474-14729-1-git-send-email-rajeshwari.s@samsung.com> Message-ID: <4FFBC214.8090400@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Rajeshwari, How do you think about fixing other warning messages? If you are inconvenience, i will fix it. pinmux.c: In function 'exynos_pinmux_config': pinmux.c:100:20: warning: 'gpio_func' may be used uninitialized in this function [-Wuninitialized] pinmux.c:69:16: note: 'gpio_func' was declared here pinmux.c:99:31: warning: 'start' may be used uninitialized in this function [-Wuninitialized] pinmux.c:69:9: note: 'start' was declared here Best Regards, Jaehoon Chung On 07/10/2012 02:34 PM, Rajeshwari Shinde wrote: > Fixed the compiler warning message. > > Signed-off-by: Rajeshwari Shinde > --- > 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) {