]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: imx8m: Support building imx8m soc driver as module
authorJindong Yue <jindong.yue@nxp.com>
Wed, 1 Mar 2023 13:05:57 +0000 (21:05 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Mar 2023 03:36:53 +0000 (11:36 +0800)
Make the imx8m soc driver as tristate so that it can be built as loadable
module, module names are:
soc-imx8m.ko, imx8m-blk-ctrl.ko and imx8mp-blk-ctrl.ko

Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/Kconfig

index a8742fc58f018a541a34b8aadd6c3688f8820fed..76a4593baf0a2ecad591822de2da77819fb6afa7 100644 (file)
@@ -10,7 +10,7 @@ config IMX_GPCV2_PM_DOMAINS
        default y if SOC_IMX7D
 
 config SOC_IMX8M
-       bool "i.MX8M SoC family support"
+       tristate "i.MX8M SoC family support"
        depends on ARCH_MXC || COMPILE_TEST
        default ARCH_MXC && ARM64
        select SOC_BUS