public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids
@ 2012-12-02 15:08 Axel Lin
  2012-12-03 20:17 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-12-02 15:08 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: Thomas Gleixner, John Stultz, linux-kernel

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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids
  2012-12-02 15:08 [PATCH] clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids Axel Lin
@ 2012-12-03 20:17 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2012-12-03 20:17 UTC (permalink / raw)
  To: Axel Lin; +Cc: Thomas Gleixner, John Stultz, linux-kernel

Le 02/12/2012 16:08, Axel Lin a écrit :
> The of_device_id table is supposed to be zero-terminated.

Applied, thanks

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-03 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-02 15:08 [PATCH] clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids Axel Lin
2012-12-03 20:17 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox