diff options
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 97e9dc066f95..9228e210c3bb 100644 --- a/drivers/parisc/power.c +++ b/drivers/parisc/power.c | |||
@@ -82,7 +82,7 @@ | |||
82 | } ) | 82 | } ) |
83 | 83 | ||
84 | 84 | ||
85 | static void deferred_poweroff(void *dummy) | 85 | static void deferred_poweroff(struct work_struct *unused) |
86 | { | 86 | { |
87 | if (kill_cad_pid(SIGINT, 1)) { | 87 | if (kill_cad_pid(SIGINT, 1)) { |
88 | /* just in case killing init process failed */ | 88 | /* just in case killing init process failed */ |
@@ -96,7 +96,7 @@ static void deferred_poweroff(void *dummy) | |||
96 | * use schedule_work(). | 96 | * use schedule_work(). |
97 | */ | 97 | */ |
98 | 98 | ||
99 | static DECLARE_WORK(poweroff_work, deferred_poweroff, NULL); | 99 | static DECLARE_WORK(poweroff_work, deferred_poweroff); |
100 | 100 | ||
101 | static void poweroff(void) | 101 | static void poweroff(void) |
102 | { | 102 | { |