]> git.sur5r.net Git - u-boot/blobdiff - drivers/power/power_fsl.c
bfin: Move gpio support for bf54x and bf60x into the generic driver folder.
[u-boot] / drivers / power / power_fsl.c
index af4663dd259e651ba026453103dbcf26222792ce..a663831589fdfe05a5756c592cd4ae5fcfc0fd6e 100644 (file)
@@ -66,7 +66,7 @@ int pmic_init(unsigned char bus)
        p->interface = PMIC_I2C;
        p->hw.i2c.addr = CONFIG_SYS_FSL_PMIC_I2C_ADDR;
        p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH;
-       p->bus = I2C_PMIC;
+       p->bus = bus;
 #else
 #error "You must select CONFIG_POWER_SPI or CONFIG_PMIC_I2C"
 #endif