summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc/power.c')
-rw-r--r--drivers/parisc/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c
index 97e9dc066f9..9228e210c3b 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)
{