Skip to content

Commit 9f4e45f

Browse files
AxelLinbroonie
authored andcommitted
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>
1 parent 31e5408 commit 9f4e45f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/regulator/vexpress.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ static int __devexit vexpress_regulator_remove(struct platform_device *pdev)
126126

127127
static struct of_device_id vexpress_regulator_of_match[] = {
128128
{ .compatible = "arm,vexpress-volt", },
129+
{ }
129130
};
130131

131132
static struct platform_driver vexpress_regulator_driver = {

0 commit comments

Comments
 (0)