power: Tighten some power driver dependencies
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:51:13 +0000 (15:51 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 31 Aug 2025 15:32:17 +0000 (09:32 -0600)
The MediaTek mt6323 power driver cannot build without access to some
platform specific header files. Express that requirements in Kconfig as
well.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/power/Kconfig

index fd1c871..d17337c 100644 (file)
@@ -463,6 +463,7 @@ config TWL4030_POWER
 
 config POWER_MT6323
        bool "Poweroff driver for mediatek mt6323"
+       depends on ARCH_MEDIATEK
        select CMD_POWEROFF
        help
          This adds poweroff driver for mt6323