soc: apple: apple-pmgr-pwrstate: Do not build as a module
authorHector Martin <marcan@marcan.st>
Wed, 15 Dec 2021 11:27:54 +0000 (20:27 +0900)
committerHector Martin <marcan@marcan.st>
Wed, 15 Dec 2021 11:36:05 +0000 (20:36 +0900)
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.

Fixes: 6df9d38f9146 ("soc: apple: Add driver for Apple PMGR power state controls")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/soc/apple/Kconfig

index 3eb14ab..9b8de31 100644 (file)
@@ -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