ASoC: max98371: Add terminate entry for i2c_device_id tables
Make sure i2c_device_id tables are NULL terminated. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
29b4817d40
commit
209c721ce2
@ -412,6 +412,7 @@ static int max98371_i2c_remove(struct i2c_client *client)
|
||||
|
||||
static const struct i2c_device_id max98371_i2c_id[] = {
|
||||
{ "max98371", 0 },
|
||||
{ }
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, max98371_i2c_id);
|
||||
|
Loading…
Reference in New Issue
Block a user