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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
---
 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



_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux