]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Make board-palmz71 compile again
authorDirk Behme <dirk.behme_at_gmail.com>
Fri, 26 Jan 2007 00:30:11 +0000 (16:30 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 3 Apr 2007 17:39:03 +0000 (13:39 -0400)
ARM: OMAP: Fix compilation issues in board-palmz71.c

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-palmz71.c

index b1ef1be395a5462beae257a3f857ef4e19f823fe..6a53f12483c2e566a00e828733a7a374b4211cba 100644 (file)
@@ -260,7 +260,6 @@ static struct spi_board_info __initdata palmz71_boardinfo[] = { {
                                * 26    /* command + data + overhead */,
        .bus_num        = 2,
        .chip_select    = 0,
-       }
 } };
 
 static struct omap_usb_config palmz71_usb_config __initdata = {
@@ -295,7 +294,7 @@ static struct omap_board_config_kernel palmz71_config[] = {
 };
 
 static irqreturn_t
-palmz71_powercable(int irq, void *dev_id, struct pt_regs *regs)
+palmz71_powercable(int irq, void *dev_id)
 {
        if (omap_get_gpio_datain(PALMZ71_USBDETECT_GPIO)) {
                printk(KERN_INFO "PM: Power cable connected\n");
@@ -347,7 +346,7 @@ palmz71_gpio_setup(int early)
                                "palmz71-cable", 0))
                        printk(KERN_ERR
                               "IRQ request for power cable failed!\n");
-               palmz71_powercable(OMAP_GPIO_IRQ(PALMZ71_USBDETECT_GPIO), 0, 0);
+               palmz71_powercable(OMAP_GPIO_IRQ(PALMZ71_USBDETECT_GPIO), 0);
        }
 }