aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeng Heng <[email protected]>2022-09-28 23:13:46 +0800
committerMatthias Brugger <[email protected]>2023-02-01 14:35:12 +0100
commit6f42f5e73bb431c7e01c15dadfdc15872aa85db5 (patch)
tree54badb499896eadd035d56d01dff5ff30938ce77
parent916120df5aa926d65f4666c075ed8d4955ef7bab (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
-rw-r--r--drivers/soc/mediatek/mtk-svs.c1
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)
{