Skip to contentSkip to conversation

clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids

PATCH Applied Axel Lin 2 participants 2 messages Dec 2, 2012 – Dec 3, 2012

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids

The of_device_id table is supposed to be zero-terminated.

---
 drivers/clocksource/sunxi_timer.c |    1 +
 1 file changed, 1 insertion(+)
drivers/clocksource/sunxi_timer.c +1 -0
index 3c46434..3cd1bd3 100644
@@ -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)
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 1 line · Axel Lin

The of_device_id table is supposed to be zero-terminated.

Applied, thanks

Signature · 4 lines
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com