summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMika Kukkonen <mika@osdl.org>2004-07-02 06:36:21 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-02 06:36:21 -0700
commit93b3d54597be9948e6d6c9939471dda7c510094f (patch)
tree128aafb697b55dac610840a75b66fc1fc84fe3e1 /kernel
parentfaa7a4c05ace72d85bbfb8d2a458a80491f8045b (diff)
[PATCH] sparse: remaining integer zero / NULL fixes in allmodconfig & vmlinux
This fixes the the remaining 0 to NULL things that were found with 'make allmodconfig' and 'make C=1 vmlinux'.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/poweroff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/poweroff.c b/kernel/power/poweroff.c
index d921459b8676..875d8f11a8be 100644
--- a/kernel/power/poweroff.c
+++ b/kernel/power/poweroff.c
@@ -21,7 +21,7 @@ static void do_poweroff(void *dummy)
pm_power_off();
}
-static DECLARE_WORK(poweroff_work, do_poweroff, 0);
+static DECLARE_WORK(poweroff_work, do_poweroff, NULL);
static void handle_poweroff(int key, struct pt_regs *pt_regs,
struct tty_struct *tty)