diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-10-16 21:00:20 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-17 03:34:08 -0400 |
commit | 9f4e45f77e8a532c8a7e39268e844821dbf7fe91 (patch) | |
tree | 8d7ba30dfc1f98e090adbbe6bee3e5c95635eaf5 /drivers/regulator/vexpress.c | |
parent | 31e54086dd7bb86ad40f1d76a9063f2a95866b87 (diff) |
regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table
The of_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/vexpress.c')
-rw-r--r-- | drivers/regulator/vexpress.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c index 1702945a93a9..1d558111d60f 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) | |||
126 | 126 | ||
127 | static struct of_device_id vexpress_regulator_of_match[] = { | 127 | static struct of_device_id vexpress_regulator_of_match[] = { |
128 | { .compatible = "arm,vexpress-volt", }, | 128 | { .compatible = "arm,vexpress-volt", }, |
129 | { } | ||
129 | }; | 130 | }; |
130 | 131 | ||
131 | static struct platform_driver vexpress_regulator_driver = { | 132 | static struct platform_driver vexpress_regulator_driver = { |