Commit f69b01c5 authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz

mfd: tps80031: Add terminating entry for tps80031_id_table

The i2c_device_id table is supposed to be zero-terminated.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 709edecd
...@@ -543,6 +543,7 @@ static int __devexit tps80031_remove(struct i2c_client *client) ...@@ -543,6 +543,7 @@ static int __devexit tps80031_remove(struct i2c_client *client)
static const struct i2c_device_id tps80031_id_table[] = { static const struct i2c_device_id tps80031_id_table[] = {
{ "tps80031", TPS80031 }, { "tps80031", TPS80031 },
{ "tps80032", TPS80032 }, { "tps80032", TPS80032 },
{ }
}; };
MODULE_DEVICE_TABLE(i2c, tps80031_id_table); MODULE_DEVICE_TABLE(i2c, tps80031_id_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment