diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-05 07:59:00 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-12-09 09:15:24 -0500 |
commit | f69b01c5ce4f8ecc95605e4115d653e65c2e4dcc (patch) | |
tree | 9e007a9b72c92de57d25b36e311b85da7c30fa7e | |
parent | 709edecd4eaaa210ea9296c6d8ec5e9cedf1abe3 (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>
-rw-r--r-- | drivers/mfd/tps80031.c | 1 |
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) | |||
543 | static const struct i2c_device_id tps80031_id_table[] = { | 543 | static const struct i2c_device_id tps80031_id_table[] = { |
544 | { "tps80031", TPS80031 }, | 544 | { "tps80031", TPS80031 }, |
545 | { "tps80032", TPS80032 }, | 545 | { "tps80032", TPS80032 }, |
546 | { } | ||
546 | }; | 547 | }; |
547 | MODULE_DEVICE_TABLE(i2c, tps80031_id_table); | 548 | MODULE_DEVICE_TABLE(i2c, tps80031_id_table); |
548 | 549 | ||