Skip to content

Commit 30f3b06

Browse files
committed
soc: amlogic: gx pm domain: add PM and OF dependencies
The new driver introduces harmless warnings: warning: (PM_RMOBILE && ARCH_RCAR_GEN1 && ARCH_RCAR_GEN2 && ARCH_R7S72100 && MESON_GX_PM_DOMAINS) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM) warning: (MESON_GX_PM_DOMAINS) selects PM_GENERIC_DOMAINS_OF which has unmet direct dependencies (PM_GENERIC_DOMAINS && OF) This adds CONFIG_OF and CONFIG_PM dependencies to ensure it will only be enabled in valid configurations. Fixes: 75fcb5c ("soc: amlogic: add Meson GX VPU Domains driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent e54a786 commit 30f3b06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soc/amlogic/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ config MESON_GX_SOCINFO
1212
config MESON_GX_PM_DOMAINS
1313
bool "Amlogic Meson GX Power Domains driver"
1414
depends on ARCH_MESON || COMPILE_TEST
15+
depends on PM && OF
1516
default ARCH_MESON
1617
select PM_GENERIC_DOMAINS
1718
select PM_GENERIC_DOMAINS_OF

0 commit comments

Comments
 (0)