Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1467033
| From | Wei Yongjun <weiyj.lk@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH -next] ASoC: max98371: Add terminate entry for i2c_device_id tables |
| Date | 2016-08-21 17:40 +0200 |
| Message-ID | <s8D0T-26R-85@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 --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);
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH -next] ASoC: max98371: Add terminate entry for i2c_device_id tables Wei Yongjun <weiyj.lk@gmail.com> - 2016-08-21 17:40 +0200 Applied "ASoC: max98371: Add terminate entry for i2c_device_id tables" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-08-22 20:10 +0200
csiph-web