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 fe479ccfaa19d7cd555460b88d54dfdab6ba80bf..ec7d9b8c7844258e1e4ffa0d7d4ebb93f17168db 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 d93c3091cb9f7cf731fc25cb312e36faecf7cf49..d59ca6bae0960ac5580a0374cd5aa51d9d2f9127 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);