diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-02-12 05:30:16 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-03-16 09:50:40 +0100 |
commit | 95a6f715bcab610237530d266f8d8f752af6cd6f (patch) | |
tree | 8639e58dc0f01e5f6e323bc08e69f7eb19e22db0 | |
parent | mfd: max77686: Export OF module alias information (diff) | |
download | linux-95a6f715bcab610237530d266f8d8f752af6cd6f.tar.xz linux-95a6f715bcab610237530d266f8d8f752af6cd6f.zip |
mfd: max77686: Add max77802 to I2C device ID table
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>
-rw-r--r-- | drivers/mfd/max77686.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c index 7cc1dfd1e263..86458f5262a4 100644 --- a/drivers/mfd/max77686.c +++ b/drivers/mfd/max77686.c @@ -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); |