[PATCH 2/2] pmdomain: mediatek: Add MODULE_DESCRIPTION to mtk-scpsys
From: Justin Yeh
Date: Wed Jun 03 2026 - 01:13:23 EST
Kernel modpost in v6.x emits a warning when a module is missing
MODULE_DESCRIPTION():
WARNING: modpost: missing MODULE_DESCRIPTION() in mtk-scpsys.o
Add MODULE_DESCRIPTION() to mtk-scpsys.c to silence the warning.
Signed-off-by: Justin Yeh <justin.yeh@xxxxxxxxxxxx>
---
drivers/pmdomain/mediatek/mtk-scpsys.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/pmdomain/mediatek/mtk-scpsys.c b/drivers/pmdomain/mediatek/mtk-scpsys.c
index efc8f276ffce..bfaa6c8f88dc 100644
--- a/drivers/pmdomain/mediatek/mtk-scpsys.c
+++ b/drivers/pmdomain/mediatek/mtk-scpsys.c
@@ -1151,4 +1151,7 @@ static struct platform_driver scpsys_drv = {
.of_match_table = of_scpsys_match_tbl,
},
};
-builtin_platform_driver(scpsys_drv);
+
+module_platform_driver(scpsys_drv);
+MODULE_DESCRIPTION("MediaTek SCPSYS power domain driver");
+MODULE_LICENSE("GPL");
--
2.45.2