From 782c615bde6b29216296b11ed82f7c12e9dcab57 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Thu, 25 Jan 2007 16:30:11 -0800 Subject: [PATCH] ARM: OMAP: Make board-palmz71 compile again ARM: OMAP: Fix compilation issues in board-palmz71.c Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- arch/arm/mach-omap1/board-palmz71.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c index b1ef1be..6a53f12 100644 --- a/arch/arm/mach-omap1/board-palmz71.c +++ b/arch/arm/mach-omap1/board-palmz71.c @@ -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); } } -- 1.4.4.2