projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916120d
)
soc: mediatek: mtk-svs: add missing MODULE_DEVICE_TABLE
author
Zeng Heng
<zengheng4@huawei.com>
Wed, 28 Sep 2022 15:13:46 +0000
(23:13 +0800)
committer
Matthias Brugger
<matthias.bgg@gmail.com>
Wed, 1 Feb 2023 13:35:12 +0000
(14:35 +0100)
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@huawei.com>
Link:
https://lore.kernel.org/r/20220928151346.1942977-1-zengheng4@huawei.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c
patch
|
blob
|
history
diff --git
a/drivers/soc/mediatek/mtk-svs.c
b/drivers/soc/mediatek/mtk-svs.c
index
333d40f
..
f26eb2f
100644
(file)
--- a/
drivers/soc/mediatek/mtk-svs.c
+++ b/
drivers/soc/mediatek/mtk-svs.c
@@
-2341,6
+2341,7
@@
static const struct of_device_id svs_of_match[] = {
/* Sentinel */
},
};
+MODULE_DEVICE_TABLE(of, svs_of_match);
static int svs_probe(struct platform_device *pdev)
{