summaryrefslogtreecommitdiff
path: root/drivers/mfd/tps80031.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-05 16:59:00 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-12-09 18:15:24 +0400
commitf69b01c5ce4f8ecc95605e4115d653e65c2e4dcc (patch)
tree9e007a9b72c92de57d25b36e311b85da7c30fa7e /drivers/mfd/tps80031.c
parent709edecd4eaaa210ea9296c6d8ec5e9cedf1abe3 (diff)
downloadlinux-f69b01c5ce4f8ecc95605e4115d653e65c2e4dcc.tar.xz
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/tps80031.c')
-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 f64005efa6fa..10b51f7dfff3 100644
--- a/drivers/mfd/tps80031.c
+++ b/drivers/mfd/tps80031.c
@@ -543,6 +543,7 @@ static int __devexit tps80031_remove(struct i2c_client *client)
static const struct i2c_device_id tps80031_id_table[] = {
{ "tps80031", TPS80031 },
{ "tps80032", TPS80032 },
+ { }
};
MODULE_DEVICE_TABLE(i2c, tps80031_id_table);