mfd: 88pm80[05] i2c device_id arrays should be NULL terminated
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 9 Jul 2012 13:11:46 +0000 (15:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 9 Jul 2012 13:13:43 +0000 (15:13 +0200)
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm800.c
drivers/mfd/88pm805.c

index fe479cc..ec7d9b8 100644 (file)
@@ -127,6 +127,7 @@ enum {
 
 static const struct i2c_device_id pm80x_id_table[] = {
        {"88PM800", CHIP_PM800},
+       {} /* NULL terminated */
 };
 MODULE_DEVICE_TABLE(i2c, pm80x_id_table);
 
index d93c309..d59ca6b 100644 (file)
@@ -33,6 +33,7 @@
 
 static const struct i2c_device_id pm80x_id_table[] = {
        {"88PM805", CHIP_PM805},
+       {} /* NULL terminated */
 };
 MODULE_DEVICE_TABLE(i2c, pm80x_id_table);