Skip to contentSkip to conversation

soc: apple: apple-pmgr-pwrstate: Do not build as a module

PATCH In review Hector Martin 2 participants 2 messages Dec 15, 2021 Arm/Apple machine support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: apple: apple-pmgr-pwrstate: Do not build as a module

This doesn't make any sense as a module since it is a critical device, and it turns out of_phandle_iterator_args was not exported so the module version doesn't build anyway.

---
 drivers/soc/apple/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/apple/Kconfig +1 -1
index 3eb14abf8d33..9b8de31d6a8f 100644
@@ -5,7 +5,7 @@ if ARCH_APPLE || COMPILE_TEST
 menu "Apple SoC drivers"
 
 config APPLE_PMGR_PWRSTATE
-	tristate "Apple SoC PMGR power state control"
+	bool "Apple SoC PMGR power state control"
 	depends on PM
 	select REGMAP
 	select MFD_SYSCON
Signature · 1 line
2.33.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Hector Martin

This doesn't make any sense as a module since it is a critical device, and it turns out of_phandle_iterator_args was not exported so the module version doesn't build anyway.

I think it'd be nice to add Reported-by: kernel test robot <[email protected]> here since their service found it and maybe also a Fixes: tag.

Sven