]> git.sur5r.net Git - u-boot/blobdiff - drivers/power/pmic/pmic_tps65090.c
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
[u-boot] / drivers / power / pmic / pmic_tps65090.c
index c5b396610ac3ecec91c22ffeaf600c723299fb9b..337903acec8a56c493c32543cafbe978fd8f3b2e 100644 (file)
@@ -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;
        }