summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/vexpress.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/vexpress.c')
-rw-r--r--drivers/regulator/vexpress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c
index 6ab78bdbe13..bed9d3ee419 100644
--- a/drivers/regulator/vexpress.c
+++ b/drivers/regulator/vexpress.c
@@ -74,7 +74,8 @@ static int vexpress_regulator_probe(struct platform_device *pdev)
reg->desc.owner = THIS_MODULE;
reg->desc.continuous_voltage_range = true;
- init_data = of_get_regulator_init_data(&pdev->dev, pdev->dev.of_node);
+ init_data = of_get_regulator_init_data(&pdev->dev, pdev->dev.of_node,
+ &reg->desc);
if (!init_data)
return -EINVAL;