summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm/board_bcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-bcm/board_bcm.c')
-rw-r--r--arch/arm/mach-bcm/board_bcm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-bcm/board_bcm.c b/arch/arm/mach-bcm/board_bcm.c
index 3a62f1b1cabc..3df68030cf68 100644
--- a/arch/arm/mach-bcm/board_bcm.c
+++ b/arch/arm/mach-bcm/board_bcm.c
@@ -31,10 +31,6 @@ static void timer_init(void)
{
}
-static struct sys_timer timer = {
- .init = timer_init,
-};
-
static void __init init_irq(void)
{
of_irq_init(irq_match);
@@ -50,7 +46,7 @@ static const char * const bcm11351_dt_compat[] = { "bcm,bcm11351", NULL, };
DT_MACHINE_START(BCM11351_DT, "Broadcom Application Processor")
.init_irq = init_irq,
- .timer = &timer,
+ .init_time = timer_init,
.init_machine = board_init,
.dt_compat = bcm11351_dt_compat,
.handle_irq = gic_handle_irq,
OpenPOWER on IntegriCloud