Skip to content

Commit

Permalink
[CPUFREQ] Fix sparse warning in ondemand
Browse files Browse the repository at this point in the history
drivers/cpufreq/cpufreq_ondemand.c:323:2: warning: Using plain integer as NULL pointer

Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed Sep 5, 2006
1 parent b5ecf60 commit 3906f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/cpufreq_ondemand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3906f4e

Please sign in to comment.