mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
mfd: 88pm80[05] i2c device_id arrays should be NULL terminated
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
a232d56e48
commit
31b3ffbdfb
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user