projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
ASoC: max98371: Add terminate entry for i2c_device_id tables
author
Wei Yongjun
<weiyongjun1@huawei.com>
Sun, 21 Aug 2016 15:37:16 +0000
(15:37 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 22 Aug 2016 16:33:04 +0000
(17:33 +0100)
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>
sound/soc/codecs/max98371.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98371.c
b/sound/soc/codecs/max98371.c
index cf0a39bb631aac9ae9bccd6c0b5163e65d8178b1..02352ed8961c47ccb270ef9ff8f7aff3784bd4ca 100644
(file)
--- 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);