]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/power/pmic/pmic_pfuze100.c
Add missing part of: "power: pmic: pfuze100 support driver model"
[karo-tx-uboot.git] / drivers / power / pmic / pmic_pfuze100.c
index 22a04c02a3c149013a828c023b242f3848645df6..259b349da7a125e58f1031c78328a8a2ea57cdb0 100644 (file)
@@ -23,7 +23,7 @@ int power_pfuze100_init(unsigned char bus)
 
        p->name = name;
        p->interface = PMIC_I2C;
-       p->number_of_regs = PMIC_NUM_OF_REGS;
+       p->number_of_regs = PFUZE100_NUM_OF_REGS;
        p->hw.i2c.addr = CONFIG_POWER_PFUZE100_I2C_ADDR;
        p->hw.i2c.tx_num = 1;
        p->bus = bus;