[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210409015953.259688-1-chenlifu@huawei.com>
Date: Fri, 9 Apr 2021 09:59:53 +0800
From: Chen Lifu <chenlifu@...wei.com>
To: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
CC: Chen Lifu <chenlifu@...wei.com>, <alsa-devel@...a-project.org>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: [PATCH -next] 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@...wei.com>
Signed-off-by: Chen Lifu <chenlifu@...wei.com>
---
sound/soc/sti/sti_uniperif.c | 1 +
1 file changed, 1 insertion(+)
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)
{
Powered by blists - more mailing lists