Messages in this thread Patch in this message | | | Subject | [PATCH] clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids | From | Axel Lin <> | Date | Sun, 02 Dec 2012 23:08:19 +0800 |
| |
The of_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/clocksource/sunxi_timer.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/clocksource/sunxi_timer.c b/drivers/clocksource/sunxi_timer.c index 3c46434..3cd1bd3 100644 --- a/drivers/clocksource/sunxi_timer.c +++ b/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) -- 1.7.9.5
| |