diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-08-21 11:37:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-22 12:33:04 -0400 |
commit | 209c721ce27022656a9d792b89572c4fdd7d31a7 (patch) | |
tree | d046ae4d2dc3a866e45cab363feb44f936721a5a | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
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>
-rw-r--r-- | sound/soc/codecs/max98371.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c index cf0a39bb631a..02352ed8961c 100644 --- a/sound/soc/codecs/max98371.c +++ b/sound/soc/codecs/max98371.c | |||
@@ -412,6 +412,7 @@ static int max98371_i2c_remove(struct i2c_client *client) | |||
412 | 412 | ||
413 | static const struct i2c_device_id max98371_i2c_id[] = { | 413 | static const struct i2c_device_id max98371_i2c_id[] = { |
414 | { "max98371", 0 }, | 414 | { "max98371", 0 }, |
415 | { } | ||
415 | }; | 416 | }; |
416 | 417 | ||
417 | MODULE_DEVICE_TABLE(i2c, max98371_i2c_id); | 418 | MODULE_DEVICE_TABLE(i2c, max98371_i2c_id); |