From: Axel Lin Date: Wed, 17 Oct 2012 01:00:20 +0000 (+0800) Subject: regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f4e45f77e8a532c8a7e39268e844821dbf7fe91;p=linux-beck.git 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 Signed-off-by: Mark Brown --- 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) static struct of_device_id vexpress_regulator_of_match[] = { { .compatible = "arm,vexpress-volt", }, + { } }; static struct platform_driver vexpress_regulator_driver = {