]> git.baikalelectronics.ru Git - kernel.git/commit
arm: omap2: mux: fix compile warning
authorFelipe Balbi <balbi@ti.com>
Mon, 17 Jan 2011 04:31:18 +0000 (06:31 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Jan 2011 00:22:55 +0000 (16:22 -0800)
commit3579ef41d42c09c696980d5708d9c76f2cedaf80
tree0ad99e844900658d57920bd85ee7d95a257fba33
parent6c4d2a281ce52bf7c07a38c753630f54a8bf7a2b
arm: omap2: mux: fix compile warning

Commit fb86e833fc5a79368fedb989a0cc1f29b4af5ec2
(omap2+: Add omap_mux_get_by_name) introduced the following
compile warning:

arch/arm/mach-omap2/mux.c: In function '_omap_mux_get_by_name':
arch/arm/mach-omap2/mux.c:163:17: warning: 'found_mode' may be used
uninitialized in this function

Signed-off-by: Felipe Balbi <balbi@ti.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c