aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/sti
diff options
context:
space:
mode:
authorChen Lifu <chenlifu@huawei.com>2021-04-09 09:59:53 +0800
committerMark Brown <broonie@kernel.org>2021-04-13 12:33:45 +0100
commit462c47c2fcc26d838c82646a31d6e3e8fc01ce68 (patch)
tree3c526bdc07f87a30f7f9e022eb2d0d78c9472354 /sound/soc/sti
parentMerge series "ASoC: SOF: Intel: descriptor corrections for TGL and ADL" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: (diff)
downloadwireguard-linux-462c47c2fcc26d838c82646a31d6e3e8fc01ce68.tar.xz
wireguard-linux-462c47c2fcc26d838c82646a31d6e3e8fc01ce68.zip
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 <hulkci@huawei.com> Signed-off-by: Chen Lifu <chenlifu@huawei.com> Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Link: https://lore.kernel.org/r/20210409015953.259688-1-chenlifu@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sti')
-rw-r--r--sound/soc/sti/sti_uniperif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sti/sti_uniperif.c b/sound/soc/sti/sti_uniperif.c
index 67315d9b352d..e3561f00ed40 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)
{