Browse Source

regulator: max77686: Initialize regulator_config

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Axel Lin 13 years ago
parent
commit
c59d2a6b20
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/regulator/max77686.c

+ 1 - 1
drivers/regulator/max77686.c

@@ -217,7 +217,7 @@ static __devinit int max77686_pmic_probe(struct platform_device *pdev)
 	struct max77686_data *max77686;
 	int i,  size;
 	int ret = 0;
-	struct regulator_config config;
+	struct regulator_config config = { };
 
 	dev_dbg(&pdev->dev, "%s\n", __func__);