[CPUFREQ] Fix sparse warning in ondemand
authorDave Jones <davej@redhat.com>
Tue, 5 Sep 2006 21:15:47 +0000 (17:15 -0400)
committerDave Jones <davej@redhat.com>
Tue, 5 Sep 2006 21:15:47 +0000 (17:15 -0400)
drivers/cpufreq/cpufreq_ondemand.c:323:2: warning: Using plain integer as NULL pointer

Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c

index 5ca2fd5d1ed1c0f281ae9217d4b17eeb5a3fa2ec..bf8aa45d4f019cccd866103d278fa9e7bd4f669d 100644 (file)
@@ -449,7 +449,7 @@ static inline void dbs_timer_init(unsigned int cpu)
        delay -= jiffies % delay;
 
        ondemand_powersave_bias_init();
-       INIT_WORK(&dbs_info->work, do_dbs_timer, 0);
+       INIT_WORK(&dbs_info->work, do_dbs_timer, NULL);
        queue_delayed_work_on(cpu, kondemand_wq, &dbs_info->work, delay);
 }