Messages in this thread Patch in this message | | | Subject | [PATCH] regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table | From | Axel Lin <> | Date | Wed, 17 Oct 2012 09:00:20 +0800 |
| |
The of_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/regulator/vexpress.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c index 1702945..1d55811 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 = { -- 1.7.9.5
| |