From: Chen Lifu Date: Fri, 9 Apr 2021 01:59:53 +0000 (+0800) Subject: ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE X-Git-Tag: v5.13-rc1~87^2~19^2^2~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=462c47c2fcc26d838c82646a31d6e3e8fc01ce68;p=thirdparty%2Fkernel%2Flinux.git ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Chen Lifu Reviewed-by: Arnaud Pouliquen Link: https://lore.kernel.org/r/20210409015953.259688-1-chenlifu@huawei.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sti/sti_uniperif.c b/sound/soc/sti/sti_uniperif.c index 67315d9b352dd..e3561f00ed40c 100644 --- a/sound/soc/sti/sti_uniperif.c +++ b/sound/soc/sti/sti_uniperif.c @@ -97,6 +97,7 @@ static const struct of_device_id snd_soc_sti_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, snd_soc_sti_match); int sti_uniperiph_reset(struct uniperif *uni) {