All of lore.kernel.org
 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

* Re: [PATCH] regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-10-17  7:34 UTC (permalink / raw)
  To: Axel Lin; +Cc: Pawel Moll, Liam Girdwood, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

On Wed, Oct 17, 2012 at 09:00:20AM +0800, Axel Lin wrote:
> The of_device_id table is supposed to be zero-terminated.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH] regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Pawel Moll @ 2012-10-17 10:58 UTC (permalink / raw)
  To: Axel Lin; +Cc: Mark Brown, Liam Girdwood, linux-kernel

On Wed, 2012-10-17 at 02:00 +0100, Axel Lin wrote:
> The of_device_id table is supposed to be zero-terminated.

Damn, stupid mistake. Thanks for spotting this!

Pawel



^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.