Browse Source

mfd: 88pm80[05] i2c device_id arrays should be NULL terminated

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Samuel Ortiz 13 years ago
parent
commit
31b3ffbdfb
2 changed files with 2 additions and 0 deletions
  1. 1 0
      drivers/mfd/88pm800.c
  2. 1 0
      drivers/mfd/88pm805.c

+ 1 - 0
drivers/mfd/88pm800.c

@@ -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);
 

+ 1 - 0
drivers/mfd/88pm805.c

@@ -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);