Commit 6f42f5e7 authored by Zeng Heng's avatar Zeng Heng Committed by Matthias Brugger

soc: mediatek: mtk-svs: 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.
Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20220928151346.1942977-1-zengheng4@huawei.comSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 916120df
...@@ -2341,6 +2341,7 @@ static const struct of_device_id svs_of_match[] = { ...@@ -2341,6 +2341,7 @@ static const struct of_device_id svs_of_match[] = {
/* Sentinel */ /* Sentinel */
}, },
}; };
MODULE_DEVICE_TABLE(of, svs_of_match);
static int svs_probe(struct platform_device *pdev) static int svs_probe(struct platform_device *pdev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment