aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/max8997.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c
index 5be53ae9b61c..cb83a7ab53e7 100644
--- a/drivers/mfd/max8997.c
+++ b/drivers/mfd/max8997.c
@@ -43,7 +43,8 @@ static struct mfd_cell max8997_devs[] = {
43 { .name = "max8997-battery", }, 43 { .name = "max8997-battery", },
44 { .name = "max8997-haptic", }, 44 { .name = "max8997-haptic", },
45 { .name = "max8997-muic", }, 45 { .name = "max8997-muic", },
46 { .name = "max8997-flash", }, 46 { .name = "max8997-led", .id = 1 },
47 { .name = "max8997-led", .id = 2 },
47}; 48};
48 49
49int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) 50int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest)