[PATCH] mfd: tps80031: Add terminating entry for tps80031_id_table

Axel Lin
2012-12-05T12:59:12Z

The i2c_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/mfd/tps80031.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/tps80031.c b/drivers/mfd/tps80031.c
index f64005e..10b51f7 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);

--
1.7.9.5