From: Wei Yongjun Date: Sun, 21 Aug 2016 15:37:16 +0000 (+0000) Subject: ASoC: max98371: Add terminate entry for i2c_device_id tables X-Git-Tag: v4.8-rc4~10^2^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=209c721ce27022656a9d792b89572c4fdd7d31a7;p=thirdparty%2Flinux.git ASoC: max98371: Add terminate entry for i2c_device_id tables Make sure i2c_device_id tables are NULL terminated. Signed-off-by: Wei Yongjun Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c index cf0a39bb631aa..02352ed8961c4 100644 --- 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);