regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table
PATCH 1/1 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 <[email protected]>
--- drivers/regulator/vexpress.c | 1 + 1 file changed, 1 insertion(+)
drivers/regulator/vexpress.c +1 -0
@@ -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 = {
Signature · 1 line
1.7.9.5
Mark Brown
AppliedQuoted 1 line · Axel Lin
The
of_device_idtable is supposed to be zero-terminated.
Applied, thanks.
Quoted 1 line · Axel Lin
The
of_device_idtable is supposed to be zero-terminated.
Damn, stupid mistake. Thanks for spotting this!
Pawel