summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_ondemand.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-09-05 17:15:47 -0400
committerDave Jones <davej@redhat.com>2006-09-05 17:15:47 -0400
commit3906f4edeef976c081c4e7bd92164d2f59c325ae (patch)
tree6ad1309a5e2eda9c2dde0e9bd0dca8d0a4060b9b /drivers/cpufreq/cpufreq_ondemand.c
parentb5ecf60fe6b18de0bc59d336d444835d4ef835ed (diff)
downloadblackbird-op-linux-3906f4edeef976c081c4e7bd92164d2f59c325ae.tar.gz
blackbird-op-linux-3906f4edeef976c081c4e7bd92164d2f59c325ae.zip
[CPUFREQ] Fix sparse warning in ondemand
drivers/cpufreq/cpufreq_ondemand.c:323:2: warning: Using plain integer as NULL pointer Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
-rw-r--r--drivers/cpufreq/cpufreq_ondemand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c
index 5ca2fd5d1ed1..bf8aa45d4f01 100644
--- a/drivers/cpufreq/cpufreq_ondemand.c
+++ b/drivers/cpufreq/cpufreq_ondemand.c
@@ -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);
}
OpenPOWER on IntegriCloud