aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-05 07:59:00 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-12-09 09:15:24 -0500
commitf69b01c5ce4f8ecc95605e4115d653e65c2e4dcc (patch)
tree9e007a9b72c92de57d25b36e311b85da7c30fa7e /drivers/mfd
parent709edecd4eaaa210ea9296c6d8ec5e9cedf1abe3 (diff)
mfd: tps80031: Add terminating entry for tps80031_id_table
The i2c_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/tps80031.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/tps80031.c b/drivers/mfd/tps80031.c
index f64005efa6f..10b51f7dfff 100644
--- a/drivers/mfd/tps80031.c
+++ b/drivers/mfd/tps80031.c
@@ -543,6 +543,7 @@ static int __devexit tps80031_remove(struct i2c_client *client)
543static const struct i2c_device_id tps80031_id_table[] = { 543static const struct i2c_device_id tps80031_id_table[] = {
544 { "tps80031", TPS80031 }, 544 { "tps80031", TPS80031 },
545 { "tps80032", TPS80032 }, 545 { "tps80032", TPS80032 },
546 { }
546}; 547};
547MODULE_DEVICE_TABLE(i2c, tps80031_id_table); 548MODULE_DEVICE_TABLE(i2c, tps80031_id_table);
548 549