]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: max98371: Add terminate entry for i2c_device_id tables
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 21 Aug 2016 15:37:16 +0000 (15:37 +0000)
committerMark 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

index cf0a39bb631aac9ae9bccd6c0b5163e65d8178b1..02352ed8961c47ccb270ef9ff8f7aff3784bd4ca 100644 (file)
@@ -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);