ARM: tegra11: clock: fix build break
Ken Adams [Mon, 20 Aug 2012 17:17:00 +0000 (13:17 -0400)]
fix build break on possibly unused var (p_rate)

Change-Id: I06cc57d56186b593d78f232c3a5f8ce6c8c086f6
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/124706
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

arch/arm/mach-tegra/tegra11_emc.c

index dbfb803..6aaafaf 100644 (file)
@@ -192,7 +192,7 @@ bool tegra_emc_is_parent_ready(unsigned long rate, struct clk **parent,
 
        int i;
        struct clk *p = NULL;
-       unsigned long p_rate;
+       unsigned long p_rate = 0;
 
        if (!tegra_emc_table || !emc_enable)
                return true;