Commit 209c721c authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown

ASoC: max98371: Add terminate entry for i2c_device_id tables

Make sure i2c_device_id tables are NULL terminated.
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 29b4817d
...@@ -412,6 +412,7 @@ static int max98371_i2c_remove(struct i2c_client *client) ...@@ -412,6 +412,7 @@ static int max98371_i2c_remove(struct i2c_client *client)
static const struct i2c_device_id max98371_i2c_id[] = { static const struct i2c_device_id max98371_i2c_id[] = {
{ "max98371", 0 }, { "max98371", 0 },
{ }
}; };
MODULE_DEVICE_TABLE(i2c, max98371_i2c_id); MODULE_DEVICE_TABLE(i2c, max98371_i2c_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment