[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4bbe07e-eed6-4667-3efc-c9307782c05b@linaro.org>
Date: Mon, 10 May 2021 11:33:52 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Bixuan Cui <cuibixuan@...wei.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Ye Bin <yebin10@...wei.com>
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] ASoC: codecs: lpass-tx-macro: add missing
MODULE_DEVICE_TABLE
On 08/05/2021 04:15, Bixuan Cui 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@...wei.com>
> Signed-off-by: Bixuan Cui <cuibixuan@...wei.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
> ---
> sound/soc/codecs/lpass-tx-macro.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c
> index acd2fbc0ca7c..27a0d5defd27 100644
> --- a/sound/soc/codecs/lpass-tx-macro.c
> +++ b/sound/soc/codecs/lpass-tx-macro.c
> @@ -1846,6 +1846,7 @@ static const struct of_device_id tx_macro_dt_match[] = {
> { .compatible = "qcom,sm8250-lpass-tx-macro" },
> { }
> };
> +MODULE_DEVICE_TABLE(of, tx_macro_dt_match);
> static struct platform_driver tx_macro_driver = {
> .driver = {
> .name = "tx_macro",
>
Powered by blists - more mailing lists