summaryrefslogtreecommitdiff
path: root/drivers/regulator/rn5t618-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/rn5t618-regulator.c')
-rw-r--r--drivers/regulator/rn5t618-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rn5t618-regulator.c b/drivers/regulator/rn5t618-regulator.c
index e58d79aeb393..6f395021d950 100644
--- a/drivers/regulator/rn5t618-regulator.c
+++ b/drivers/regulator/rn5t618-regulator.c
@@ -102,7 +102,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;