mfd: Add terminating entry for i2c_device_id palmas table
authorAxel Lin <axel.lin@gmail.com>
Mon, 21 May 2012 15:33:22 +0000 (23:33 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:24 +0000 (00:16 +0200)
The i2c_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/palmas.c

index 00c0aba..5d896b3 100644 (file)
@@ -472,6 +472,7 @@ static const struct i2c_device_id palmas_i2c_id[] = {
        { "twl6035", },
        { "twl6037", },
        { "tps65913", },
+       { /* end */ }
 };
 MODULE_DEVICE_TABLE(i2c, palmas_i2c_id);