Browse Source

clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids

The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Axel Lin 12 years ago
parent
commit
3703af46fc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/clocksource/sunxi_timer.c

+ 1 - 0
drivers/clocksource/sunxi_timer.c

@@ -101,6 +101,7 @@ static struct irqaction sunxi_timer_irq = {
 
 static struct of_device_id sunxi_timer_dt_ids[] = {
 	{ .compatible = "allwinner,sunxi-timer" },
+	{ }
 };
 
 static void __init sunxi_timer_init(void)