linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
@ 2012-12-02 14:40 Axel Lin
  2012-12-03 20:17 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-12-02 14:40 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: Thomas Gleixner, linux-kernel

The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/irqchip/irq-sunxi.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-sunxi.c b/drivers/irqchip/irq-sunxi.c
index eef41a4..10974fa 100644
--- a/drivers/irqchip/irq-sunxi.c
+++ b/drivers/irqchip/irq-sunxi.c
@@ -129,7 +129,8 @@ static int __init sunxi_of_init(struct device_node *node,
 }
 
 static struct of_device_id sunxi_irq_dt_ids[] __initconst = {
-	{ .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init }
+	{ .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init },
+	{ }
 };
 
 void __init sunxi_init_irq(void)
-- 
1.7.9.5




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

* Re: [PATCH] irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
  2012-12-02 14:40 [PATCH] irqchip: irq-sunxi: Add terminating entry for sunxi_irq_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, linux-kernel

Le 02/12/2012 15:40, 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 14:40 [PATCH] irqchip: irq-sunxi: Add terminating entry for sunxi_irq_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;
as well as URLs for NNTP newsgroup(s).