rockchip-cpufreq.c: remove warning
author陈亮 <cl@rock-chips.com>
Fri, 13 Jun 2014 10:20:56 +0000 (03:20 -0700)
committer陈亮 <cl@rock-chips.com>
Fri, 13 Jun 2014 10:30:25 +0000 (03:30 -0700)
drivers/cpufreq/rockchip-cpufreq.c

index 1c686adaf2e497ff48f6bcd2313d14e2903616b5..b4af52f96c1f5bb3d8cbdf1f96d2b2f96c4fc3ab 100644 (file)
@@ -381,7 +381,7 @@ out:
 static struct notifier_block cpufreq_pm_notifier = {
        .notifier_call = cpufreq_pm_notifier_event,
 };
-
+#if 0
 static int cpufreq_reboot_notifier_event(struct notifier_block *this, unsigned long event, void *ptr)
 {
        struct cpufreq_policy *policy = cpufreq_cpu_get(0);
@@ -395,7 +395,7 @@ static int cpufreq_reboot_notifier_event(struct notifier_block *this, unsigned l
 
        return NOTIFY_OK;
 }
-
+#endif
 int rockchip_cpufreq_reboot_limit_freq(void)
 {
        dvfs_disable_temp_limit();
@@ -405,11 +405,11 @@ int rockchip_cpufreq_reboot_limit_freq(void)
 
        return 0;
 }
-
+#if 0
 static struct notifier_block cpufreq_reboot_notifier = {
        .notifier_call = cpufreq_reboot_notifier_event,
 };
-
+#endif
 static int clk_pd_vio_notifier_call(struct notifier_block *nb, unsigned long event, void *ptr)
 {
        switch (event) {