]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parisc/power.c
ACPI: bay: use IS_ERR for return of register_platform_device_simple
[linux-2.6-omap-h63xx.git] / drivers / parisc / power.c
index 4a9f025a6b58026ba208d4a3a695b9d7b9ffa608..97e9dc066f95fc278cbc34bc1e49753bbf2f431d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * linux/arch/parisc/kernel/power.c
+ * linux/drivers/parisc/power.c
  * HP PARISC soft power switch support driver
  *
  * Copyright (c) 2001-2005 Helge Deller <deller@gmx.de>
@@ -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();