Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);