Discussion:
[PATCH] soc: versatile: Add terminating entry for realview_soc_of_match
Axel Lin
2014-10-19 15:41:00 UTC
Permalink
The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <***@ingics.com>
---
drivers/soc/versatile/soc-realview.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/soc/versatile/soc-realview.c b/drivers/soc/versatile/soc-realview.c
index cea8ea3..1a07bf5 100644
--- a/drivers/soc/versatile/soc-realview.c
+++ b/drivers/soc/versatile/soc-realview.c
@@ -26,6 +26,7 @@ static const struct of_device_id realview_soc_of_match[] = {
{ .compatible = "arm,realview-pb11mp-soc", },
{ .compatible = "arm,realview-pba8-soc", },
{ .compatible = "arm,realview-pbx-soc", },
+ { }
};

static u32 realview_coreid;
--
1.9.1
Linus Walleij
2014-10-20 12:37:04 UTC
Permalink
Post by Axel Lin
The of_device_id table is supposed to be zero-terminated.
Acked-by: Linus Walleij <***@linaro.org>

Arnd are you merging this directly into ARM SoC?

Yours,
Linus Walleij

Loading...