X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fpower%2Fpmic%2Fpmic_tps65090.c;h=337903acec8a56c493c32543cafbe978fd8f3b2e;hb=bd5053ffa5b8162257537bdb79ba829372423096;hp=c5b396610ac3ecec91c22ffeaf600c723299fb9b;hpb=55e8250bd3cfd996d1caa04f520160a89ec04754;p=u-boot diff --git a/drivers/power/pmic/pmic_tps65090.c b/drivers/power/pmic/pmic_tps65090.c index c5b396610a..337903acec 100644 --- a/drivers/power/pmic/pmic_tps65090.c +++ b/drivers/power/pmic/pmic_tps65090.c @@ -285,7 +285,7 @@ int tps65090_init(void) } bus = i2c_get_bus_num_fdt(parent); - if (p->bus < 0) { + if (bus < 0) { debug("%s: Cannot find I2C bus\n", __func__); return -ENOENT; }