Browse Source

soc: versatile: Add terminating entry for realview_soc_of_match

The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Axel Lin 10 years ago
parent
commit
157a1b17a5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/soc/versatile/soc-realview.c

+ 1 - 0
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-pb11mp-soc", },
 	{ .compatible = "arm,realview-pba8-soc", },
 	{ .compatible = "arm,realview-pba8-soc", },
 	{ .compatible = "arm,realview-pbx-soc", },
 	{ .compatible = "arm,realview-pbx-soc", },
+	{ }
 };
 };
 
 
 static u32 realview_coreid;
 static u32 realview_coreid;