9
0
Fork 0

Rename definition MC13892_REG_IDENTIFICATION to MC13XXX_

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2012-04-10 23:44:12 +04:00 committed by Sascha Hauer
parent dc505f7e20
commit 0e524635d7
2 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

@ -12,6 +12,8 @@
#ifndef __MFD_MC13XXX_H
#define __MFD_MC13XXX_H
#define MC13XXX_REG_IDENTIFICATION 0x07
#define MC13892_REG_INT_STATUS0 0x00
#define MC13892_REG_INT_MASK0 0x01
#define MC13892_REG_INT_SENSE0 0x02
@ -19,7 +21,6 @@
#define MC13892_REG_INT_MASK1 0x04
#define MC13892_REG_INT_SENSE1 0x05
#define MC13892_REG_PU_MODE_S 0x06
#define MC13892_REG_IDENTIFICATION 0x07
#define MC13892_REG_UNUSED0 0x08
#define MC13892_REG_ACC0 0x09
#define MC13892_REG_ACC1 0x0a