aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/tps65910.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index e31824870b9f..2229e66d80db 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -157,6 +157,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
157 i2c_set_clientdata(i2c, tps65910); 157 i2c_set_clientdata(i2c, tps65910);
158 tps65910->dev = &i2c->dev; 158 tps65910->dev = &i2c->dev;
159 tps65910->i2c_client = i2c; 159 tps65910->i2c_client = i2c;
160 tps65910->id = id->driver_data;
160 tps65910->read = tps65910_i2c_read; 161 tps65910->read = tps65910_i2c_read;
161 tps65910->write = tps65910_i2c_write; 162 tps65910->write = tps65910_i2c_write;
162 mutex_init(&tps65910->io_mutex); 163 mutex_init(&tps65910->io_mutex);
@@ -192,7 +193,8 @@ static int tps65910_i2c_remove(struct i2c_client *i2c)
192} 193}
193 194
194static const struct i2c_device_id tps65910_i2c_id[] = { 195static const struct i2c_device_id tps65910_i2c_id[] = {
195 { "tps65910", 0 }, 196 { "tps65910", TPS65910 },
197 { "tps65911", TPS65911 },
196 { } 198 { }
197}; 199};
198MODULE_DEVICE_TABLE(i2c, tps65910_i2c_id); 200MODULE_DEVICE_TABLE(i2c, tps65910_i2c_id);