lkml.org 
[lkml]   [2021]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -next] ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE
From
Date


On 4/9/21 3:59 AM, Chen Lifu wrote:
> 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>

Thanks,
Arnaud

> ---
> 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)
> {
>

\
 
 \ /
  Last update: 2021-04-09 09:42    [W:0.027 / U:2.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site