Stop `warning: 'cpu_clkflg' may be used uninitialized in this
function' from compiler.

Signed-off-by: Bjarne Steinsbo <[email protected]>
---
V2: Oops.. Add missing sob.

 arch/arm/mach-omap2/clock44xx_data.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/clock44xx_data.c
b/arch/arm/mach-omap2/clock44xx_data.c
index 2af0e3f..a9c19c8 100644
--- a/arch/arm/mach-omap2/clock44xx_data.c
+++ b/arch/arm/mach-omap2/clock44xx_data.c
@@ -3368,7 +3368,7 @@ static struct omap_clk omap44xx_clks[] = {
 int __init omap4xxx_clk_init(void)
 {
        struct omap_clk *c;
-       u32 cpu_clkflg;
+       u32 cpu_clkflg = 0;

        if (cpu_is_omap44xx()) {
                cpu_mask = RATE_IN_4430;
-- 
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to