summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/pmic_pfuze100.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-08-14 11:37:48 -0400
committerTom Rini <trini@konsulko.com>2015-08-14 16:27:11 -0400
commit61dfa65e405f2713dfc8090ed8147ec33b003717 (patch)
tree778383bfeed4427b9500445ed627b015ba550ba4 /drivers/power/pmic/pmic_pfuze100.c
parentdfcd23e3e7ce8f7dd3b6bd392a8501958ba15b48 (diff)
parent1c1f6076b9668cd04f4b13c011e72ee4e3c872f6 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-pmic
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;