]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-omap1/board-palmz71.c
Merge branch 'imx/fixes' of git://git.pengutronix.de/git/imx/linux-2.6 into fixes
[~andy/linux] / arch / arm / mach-omap1 / board-palmz71.c
index a2c5abcd7c84e56d53c441059cf526294883c294..3c71c6bace2cd09489b358d6569c2652471040aa 100644 (file)
@@ -289,10 +289,10 @@ palmz71_gpio_setup(int early)
                gpio_direction_input(PALMZ71_USBDETECT_GPIO);
                if (request_irq(gpio_to_irq(PALMZ71_USBDETECT_GPIO),
                                palmz71_powercable, IRQF_SAMPLE_RANDOM,
-                               "palmz71-cable", 0))
+                               "palmz71-cable", NULL))
                        printk(KERN_ERR
                                        "IRQ request for power cable failed!\n");
-               palmz71_powercable(gpio_to_irq(PALMZ71_USBDETECT_GPIO), 0);
+               palmz71_powercable(gpio_to_irq(PALMZ71_USBDETECT_GPIO), NULL);
        }
 }
 
@@ -330,6 +330,7 @@ MACHINE_START(OMAP_PALMZ71, "OMAP310 based Palm Zire71")
        .reserve        = omap_reserve,
        .init_irq       = omap1_init_irq,
        .init_machine   = omap_palmz71_init,
+       .init_late      = omap1_init_late,
        .timer          = &omap1_timer,
        .restart        = omap1_restart,
 MACHINE_END