]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/arm/mach-omap2/mux.c
OMAP2+: mux: fix compilation warnings
authorGovindraj.R <govindraj.raja@ti.com>
Wed, 1 Jun 2011 05:58:56 +0000 (11:28 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 1 Jun 2011 07:16:04 +0000 (00:16 -0700)
commit30ebad9d756a0b2c97c6c4ca6c5e6b799e3b64da
treef3119d9d84eb191e3d84d2ef1f40ad4c52ebc73e
parent26a510ba12448d3af26951376eae202bee8cdf65
OMAP2+: mux: fix compilation warnings

Fix below compilation warnings.

arch/arm/mach-omap2/omap_hwmod.c: In function 'omap_hwmod_for_each':
arch/arm/mach-omap2/omap_hwmod.c:1631: warning: 'ret' may be used uninitialized in this function

arch/arm/mach-omap2/mux.c: In function 'omap_mux_get_gpio':
arch/arm/mach-omap2/mux.c:917: warning: 'm' may be used uninitialized in this function

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/omap_hwmod.c