soc: amlogic: gx pm domain: add PM and OF dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 22:39:54 +0000 (23:39 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 22:43:55 +0000 (23:43 +0100)
commit30f3b0678ce6fc46bcdde61ca35821032d0f25b5
treef7dfcb3d8e28c3edc366e87959e40ed9d421d0dd
parente54a7867f3c6a631ccfdc6db86f33a2fac4e103e
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: 75fcb5ca4b46 ("soc: amlogic: add Meson GX VPU Domains driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/amlogic/Kconfig