]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: Fix ifdef for GOVERNOR_KERNEL_START
authorSai Gurrappadi <sgurrappadi@nvidia.com>
Tue, 26 Aug 2014 18:12:03 +0000 (11:12 -0700)
committerTom Cherry <tcherry@nvidia.com>
Sat, 30 Aug 2014 23:30:27 +0000 (16:30 -0700)
Check for the presence of the definition rather than the value like all
the other kconfig options.

Change-Id: I25921d4601b74e7f59ed3d98b48c00820b1123ca
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/488274
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
arch/arm/mach-tegra/cpu-tegra.c

index ce1377ab9e21819630394cac83cc17f12a9449b4..4aab8fc3245bb3d478dc2d726790f44aa7b5c09c 100644 (file)
@@ -1084,7 +1084,7 @@ static int __init tegra_cpufreq_init(void)
        return cpufreq_register_driver(&tegra_cpufreq_driver);
 }
 
-#if CONFIG_TEGRA_CPU_FREQ_GOVERNOR_KERNEL_START
+#ifdef CONFIG_TEGRA_CPU_FREQ_GOVERNOR_KERNEL_START
 static int __init tegra_cpufreq_governor_init(void)
 {
        /*