diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-09-28 17:13:46 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2023-02-01 14:35:12 +0100 |
commit | 6f42f5e73bb431c7e01c15dadfdc15872aa85db5 (patch) | |
tree | 54badb499896eadd035d56d01dff5ff30938ce77 /drivers/soc/mediatek/mtk-svs.c | |
parent | soc: mediatek: mtk-devapc: Switch to devm_clk_get_enabled() (diff) | |
download | linux-6f42f5e73bb431c7e01c15dadfdc15872aa85db5.tar.xz linux-6f42f5e73bb431c7e01c15dadfdc15872aa85db5.zip |
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: 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>
Diffstat (limited to '')
-rw-r--r-- | drivers/soc/mediatek/mtk-svs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c index 333d40f94c3c..f26eb2f637d5 100644 --- 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) { |