regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table
authorAxel Lin <axel.lin@ingics.com>
Wed, 17 Oct 2012 01:00:20 +0000 (09:00 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Oct 2012 07:34:08 +0000 (16:34 +0900)
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>
drivers/regulator/vexpress.c

index 1702945..1d55811 100644 (file)
@@ -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 = {