Skip to content

Commit

Permalink
regulator: vexpress: Add terminating entry for vexpress_regulator_of_…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 17, 2012
1 parent 31e5408 commit 9f4e45f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/vexpress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 9f4e45f

Please sign in to comment.