[PATCH] ASoC: max98371: Add terminate entry for i2c_device_id tables

From: Wei Yongjun
Date: Sun Aug 21 2016 - 11:37:16 EST


Make sure i2c_device_id tables are NULL terminated.

Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
sound/soc/codecs/max98371.c | 1 +
1 file changed, 1 insertion(+)

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)

static const struct i2c_device_id max98371_i2c_id[] = {
{ "max98371", 0 },
+ { }
};

MODULE_DEVICE_TABLE(i2c, max98371_i2c_id);
--
2.8.1