Skip to content

Commit

Permalink
mfd: 88pm80[05] i2c device_id arrays should be NULL terminated
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Samuel Ortiz committed Jul 9, 2012
1 parent a232d56 commit 31b3ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/88pm800.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 1 addition & 0 deletions drivers/mfd/88pm805.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 31b3ffb

Please sign in to comment.