提交 31b3ffbd 编写于 作者: S Samuel Ortiz

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

Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 a232d56e
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册