ARM: at91: Convert the boards to the init_time callback
[sfrench/cifs-2.6.git] / arch / arm / mach-at91 / board-afeb-9260v1.c
index 597c649170aa6f0940ac9e4497b29260f829f52d..e76e35ce81e771fe05248794d5aacbc5fd1ea396 100644 (file)
@@ -167,6 +167,8 @@ static struct at91_cf_data afeb9260_cf_data = {
 
 static void __init afeb9260_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DBGU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
@@ -211,7 +213,7 @@ static void __init afeb9260_board_init(void)
 
 MACHINE_START(AFEB9260, "Custom afeb9260 board")
        /* Maintainer: Sergey Lapin <slapin@ossfans.org> */
-       .init_time      = at91sam926x_pit_init,
+       .init_time      = at91_init_time,
        .map_io         = at91_map_io,
        .handle_irq     = at91_aic_handle_irq,
        .init_early     = afeb9260_init_early,