Skip to contentSkip to conversation

mfd: tps80031: Add terminating entry for tps80031_id_table

PATCH Applied Axel Lin 3 participants 3 messages Dec 5, 2012 – Dec 9, 2012 Multifunction devices (MFD)

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 mfd: tps80031: Add terminating entry for tps80031_id_table

The i2c_device_id table is supposed to be zero-terminated.

---
 drivers/mfd/tps80031.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/tps80031.c +1 -0
index f64005e..10b51f7 100644
@@ -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);
 
Signature · 1 line
1.7.9.5
Applied
#2 lore raw
In reply to Axel Lin

Hi Axel,

Quoted 6 lines · Axel Lin

The i2c_device_id table is supposed to be zero-terminated.

---
 drivers/mfd/tps80031.c |    1 +
 1 file changed, 1 insertion(+)

Applied, thanks a lot.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/