diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-09-28 18:13:46 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2023-02-01 16:35:12 +0300 |
commit | 6f42f5e73bb431c7e01c15dadfdc15872aa85db5 (patch) | |
tree | 54badb499896eadd035d56d01dff5ff30938ce77 /drivers/soc | |
parent | 916120df5aa926d65f4666c075ed8d4955ef7bab (diff) | |
download | linux-6f42f5e73bb431c7e01c15dadfdc15872aa85db5.tar.xz |
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 'drivers/soc')
-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) { |