summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mc13xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/mc13xxx.c')
-rw-r--r--drivers/mfd/mc13xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/mc13xxx.c b/drivers/mfd/mc13xxx.c
index 56345ced1c..cffb5a9fa8 100644
--- a/drivers/mfd/mc13xxx.c
+++ b/drivers/mfd/mc13xxx.c
@@ -237,7 +237,7 @@ static int mc13xxx_query_revision(struct mc13xxx *mc13xxx)
char *chipname, *revstr;
int rev, i;
- mc13xxx_reg_read(mc13xxx, MC13892_REG_IDENTIFICATION, &rev_id);
+ mc13xxx_reg_read(mc13xxx, MC13XXX_REG_IDENTIFICATION, &rev_id);
/* Determine chip type by decode ICID bits */
switch ((rev_id >> 6) & 0x7) {