Browse Source

ASoC: max9867: Make max9867_i2c_id NULL terminated

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: anish kumar <yesanishhere@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Axel Lin 9 years ago
parent
commit
1b36e4a2ab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sound/soc/codecs/max9867.c

+ 1 - 0
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[] = {