[PATCH 1/2] soc: mediatek: Allow MTK_INFRACFG to be built as module
Justin Yeh
justin.yeh at mediatek.com
Fri May 29 03:16:02 PDT 2026
Change MTK_INFRACFG from bool to tristate to support building it as
a loadable kernel module (.ko) instead of being built into the kernel.
This is required for DDK (Driver Development Kit) module build, where
mtk-infracfg needs to be loaded dynamically along with other SoC
infrastructure modules.
Signed-off-by: Justin Yeh <justin.yeh at mediatek.com>
---
drivers/soc/mediatek/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
index d7293977f06e..d28b0817ce51 100644
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -38,7 +38,7 @@ config MTK_DVFSRC
best achievable performance-per-watt.
config MTK_INFRACFG
- bool "MediaTek INFRACFG Support"
+ tristate "MediaTek INFRACFG Support"
select REGMAP
help
Say yes here to add support for the MediaTek INFRACFG controller. The
--
2.45.2
More information about the linux-arm-kernel
mailing list