]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parisc/power.c
Merge branch 'parisc' from /home/kyle/repos/parisc-2.6.git
[linux-2.6-omap-h63xx.git] / drivers / parisc / power.c
index 2eb3577a88c50f07d0190a6d45efcf2aed345926..9228e210c3bbf3c5765ef15791cd4ed35172aa5a 100644 (file)
@@ -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)
 {
@@ -188,7 +188,7 @@ static void polling_tasklet_func(unsigned long soft_power_reg)
  * powerfail interruption handler (irq IRQ_FROM_REGION(CPU_IRQ_REGION)+2) 
  */
 #if 0
-static void powerfail_interrupt(int code, void *x, struct pt_regs *regs)
+static void powerfail_interrupt(int code, void *x)
 {
        printk(KERN_CRIT "POWERFAIL INTERRUPTION !\n");
        poweroff();