[alsa-devel] [PATCH 2/3] ASoC: max9867: Make max9867_i2c_id NULL terminated

Axel Lin axel.lin at ingics.com
Sat Feb 20 03:53:15 CET 2016


Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
 sound/soc/codecs/max9867.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c
index 5a8481b..70b5406 100755
--- a/sound/soc/codecs/max9867.c
+++ b/sound/soc/codecs/max9867.c
@@ -512,6 +512,7 @@ static int max9867_i2c_remove(struct i2c_client *client)
 
 static const struct i2c_device_id max9867_i2c_id[] = {
 	{ "max9867", 0 },
+	{ }
 };
 
 static const struct of_device_id max9867_of_match[] = {
-- 
2.1.4





More information about the Alsa-devel mailing list