diff options
author | David Howells <dhowells@redhat.com> | 2006-12-07 15:31:38 +0000 |
---|---|---|
committer | Kyle McMartin <kyle@ubuntu.com> | 2006-12-08 00:34:48 -0500 |
commit | 6858f3bf6e856d10a932d2d167d3f34e366042c6 (patch) | |
tree | b71e5a25d6e60c5863fecfb46fe6c6bfd0fd7171 /drivers/parisc/power.c | |
parent | 8535e9dfd350637b37eb38edeb3eb61060d9c894 (diff) | |
download | op-kernel-dev-6858f3bf6e856d10a932d2d167d3f34e366042c6.zip op-kernel-dev-6858f3bf6e856d10a932d2d167d3f34e366042c6.tar.gz |
[PATCH] WorkStruct: Fix up some PA-RISC work items
Fix up some PA-RISC work items broken by the workstruct reduction.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc/power.c')
-rw-r--r-- | drivers/parisc/power.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c index 97e9dc0..9228e21 100644 --- a/drivers/parisc/power.c +++ b/drivers/parisc/power.c @@ -82,7 +82,7 @@ } ) -static void deferred_poweroff(void *dummy) +static void deferred_poweroff(struct work_struct *unused) { if (kill_cad_pid(SIGINT, 1)) { /* just in case killing init process failed */ @@ -96,7 +96,7 @@ static void deferred_poweroff(void *dummy) * use schedule_work(). */ -static DECLARE_WORK(poweroff_work, deferred_poweroff, NULL); +static DECLARE_WORK(poweroff_work, deferred_poweroff); static void poweroff(void) { |