regulator tps65090: fix compilation warning
[linux-2.6.git] / drivers / regulator / tps65090-regulator.c
index 82b022d..4ec3401 100644 (file)
@@ -52,7 +52,7 @@ static int tps65090_reg_is_enabled(struct regulator_dev *rdev)
 {
        struct tps65090_regulator *ri = rdev_get_drvdata(rdev);
        struct device *parent = to_tps65090_dev(rdev);
-       uint8_t control;
+       uint8_t control = 0;
        int ret;
 
        ret = tps65090_read(parent, ri->rinfo->reg_en_reg, &control);