[PATCH -next] soc: mediatek: mtk-svs: add missing MODULE_DEVICE_TABLE
Matthias Brugger
matthias.bgg at gmail.com
Wed Feb 1 05:35:33 PST 2023
On 28/09/2022 17:13, Zeng Heng 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.
>
> Signed-off-by: Zeng Heng <zengheng4 at huawei.com>
Applied, sorry for the delay.
Matthias
> ---
> drivers/soc/mediatek/mtk-svs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c
> index 0469c9dfeb04..b5c38816b553 100644
> --- a/drivers/soc/mediatek/mtk-svs.c
> +++ b/drivers/soc/mediatek/mtk-svs.c
> @@ -2326,6 +2326,7 @@ static const struct of_device_id svs_of_match[] = {
> /* Sentinel */
> },
> };
> +MODULE_DEVICE_TABLE(of, svs_of_match);
>
> static struct svs_platform *svs_platform_probe(struct platform_device *pdev)
> {
More information about the Linux-mediatek
mailing list