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 <tr...@konsulko.com>
---
Cc: Jaehoon Chung <jh80.ch...@samsung.com>
---
 drivers/power/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index fd1c871f0dbb..d17337c0c3f0 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -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
-- 
2.43.0

Reply via email to