regulator: palmas: fix build warnings
[linux-2.6.git] / drivers / regulator / max8907c-regulator.c
index bc86f92..7d4b31f 100644 (file)
@@ -386,8 +386,8 @@ static int max8907c_regulator_probe(struct platform_device *pdev)
        if (chip_data != NULL)
                info->enable_time_us = chip_data->enable_time_us;
 
-       rdev = regulator_register(&info->desc,
-                                 &pdev->dev, pdev->dev.platform_data, info);
+       rdev = regulator_register(&info->desc, &pdev->dev,
+                               pdev->dev.platform_data, info, NULL);
        if (IS_ERR(rdev)) {
                dev_err(&pdev->dev, "Cannot register regulator \"%s\", %ld\n",
                        info->desc.name, PTR_ERR(rdev));