summaryrefslogtreecommitdiff
path: root/drivers/regulator/rn5t567-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/rn5t567-regulator.c')
-rw-r--r--drivers/regulator/rn5t567-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rn5t567-regulator.c b/drivers/regulator/rn5t567-regulator.c
index 8ac1b010c8b3..bd0313d2fbce 100644
--- a/drivers/regulator/rn5t567-regulator.c
+++ b/drivers/regulator/rn5t567-regulator.c
@@ -104,7 +104,7 @@ static int rn5t618_regulator_parse_dt(struct platform_device *pdev)
static int rn5t618_regulator_probe(struct platform_device *pdev)
{
struct rn5t618 *rn5t618 = dev_get_drvdata(pdev->dev.parent);
- struct regulator_config config = { };
+ struct regulator_config config = { .ena_gpio = -ENODEV };
struct regulator_dev *rdev;
int ret, i;