aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Lifu <[email protected]>2021-04-09 09:59:53 +0800
committerMark Brown <[email protected]>2021-04-13 12:33:45 +0100
commit462c47c2fcc26d838c82646a31d6e3e8fc01ce68 (patch)
tree3c526bdc07f87a30f7f9e022eb2d0d78c9472354
parent13a9e21b80abf7956f8127304a07863ff2476828 (diff)
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 <[email protected]> Signed-off-by: Chen Lifu <[email protected]> Reviewed-by: Arnaud Pouliquen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-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)
{