linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table
@ 2012-10-17  1:00 Axel Lin
  2012-10-17  7:34 ` Mark Brown
  2012-10-17 10:58 ` Pawel Moll
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2012-10-17  1:00 UTC (permalink / raw)
  To: Mark Brown; +Cc: Pawel Moll, Liam Girdwood, linux-kernel

The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/vexpress.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c
index 1702945..1d55811 100644
--- a/drivers/regulator/vexpress.c
+++ b/drivers/regulator/vexpress.c
@@ -126,6 +126,7 @@ static int __devexit vexpress_regulator_remove(struct platform_device *pdev)
 
 static struct of_device_id vexpress_regulator_of_match[] = {
 	{ .compatible = "arm,vexpress-volt", },
+	{ }
 };
 
 static struct platform_driver vexpress_regulator_driver = {
-- 
1.7.9.5




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

end of thread, other threads:[~2012-10-17 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17  1:00 [PATCH] regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table Axel Lin
2012-10-17  7:34 ` Mark Brown
2012-10-17 10:58 ` Pawel Moll

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).