Skip to content

Commit

Permalink
mfd: max77686: Add max77802 to I2C device ID table
Browse files Browse the repository at this point in the history
The max77686 MFD driver supports both the Maxim 77686 and Maxim 77802
PMICs but only the OF device table contains entries for both devices.

The max77802 entry is missing in the I2C device ID table which isn't
a problem currently since the driver only supports DT but it will be
needed if the driver is changed to be built as a module since the I2C
core always reports a I2C modalias uevent so auto-load will not work.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Javier Martinez Canillas authored and Lee Jones committed Mar 16, 2016
1 parent 7f8ada1 commit 95a6f71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/max77686.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ static int max77686_i2c_remove(struct i2c_client *i2c)

static const struct i2c_device_id max77686_i2c_id[] = {
{ "max77686", TYPE_MAX77686 },
{ "max77802", TYPE_MAX77802 },
{ }
};
MODULE_DEVICE_TABLE(i2c, max77686_i2c_id);
Expand Down

0 comments on commit 95a6f71

Please sign in to comment.