diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-05 13:59:00 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-12-09 15:15:24 +0100 |
commit | f69b01c5ce4f8ecc95605e4115d653e65c2e4dcc (patch) | |
tree | 9e007a9b72c92de57d25b36e311b85da7c30fa7e | |
parent | mfd: sta2x11: Fix potential NULL pointer dereference in __sta2x11_mfd_mask() (diff) | |
download | linux-f69b01c5ce4f8ecc95605e4115d653e65c2e4dcc.tar.xz linux-f69b01c5ce4f8ecc95605e4115d653e65c2e4dcc.zip |
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 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); |