|
@@ -86,7 +86,8 @@ struct max8660 {
|
|
|
static int max8660_write(struct max8660 *max8660, u8 reg, u8 mask, u8 val)
|
|
|
{
|
|
|
static const u8 max8660_addresses[MAX8660_N_REGS] = {
|
|
|
- 0x10, 0x12, 0x20, 0x23, 0x24, 0x29, 0x2a, 0x32, 0x33, 0x39, 0x80 };
|
|
|
+ 0x10, 0x12, 0x20, 0x23, 0x24, 0x29, 0x2a, 0x32, 0x33, 0x39, 0x80
|
|
|
+ };
|
|
|
|
|
|
int ret;
|
|
|
u8 reg_val = (max8660->shadow_regs[reg] & mask) | val;
|