Skip to content

Commit

Permalink
mfd: tps80031: Add terminating entry for tps80031_id_table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Dec 9, 2012
1 parent 709edec commit f69b01c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/tps80031.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f69b01c

Please sign in to comment.