diff mbox

[-next] ASoC: max98371: Add terminate entry for i2c_device_id tables

Message ID 1471793836-28055-1-git-send-email-weiyj.lk@gmail.com (mailing list archive)
State Accepted
Commit 209c721ce27022656a9d792b89572c4fdd7d31a7
Headers show

Commit Message

Wei Yongjun Aug. 21, 2016, 3:37 p.m. UTC
From: Wei Yongjun <weiyongjun1@huawei.com>

Make sure i2c_device_id tables are NULL terminated.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 sound/soc/codecs/max98371.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c
index 3053879..781be9ba 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)
 
 static const struct i2c_device_id max98371_i2c_id[] = {
 	{ "max98371", 0 },
+	{ }
 };
 
 MODULE_DEVICE_TABLE(i2c, max98371_i2c_id);