summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/pmic_pfuze100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/pmic/pmic_pfuze100.c')
-rw-r--r--drivers/power/pmic/pmic_pfuze100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/pmic_pfuze100.c b/drivers/power/pmic/pmic_pfuze100.c
index 22a04c02a3..259b349da7 100644
--- a/drivers/power/pmic/pmic_pfuze100.c
+++ b/drivers/power/pmic/pmic_pfuze100.c
@@ -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;