diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-02 23:39:54 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-11-02 23:43:55 +0100 |
commit | 30f3b0678ce6fc46bcdde61ca35821032d0f25b5 (patch) | |
tree | f7dfcb3d8e28c3edc366e87959e40ed9d421d0dd /drivers/soc/amlogic | |
parent | Merge tag 'amlogic-drivers-2' of ssh://gitolite.kernel.org/pub/scm/linux/kern... (diff) | |
download | linux-30f3b0678ce6fc46bcdde61ca35821032d0f25b5.tar.xz linux-30f3b0678ce6fc46bcdde61ca35821032d0f25b5.zip |
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>
Diffstat (limited to 'drivers/soc/amlogic')
-rw-r--r-- | drivers/soc/amlogic/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig index 1621bb25a1ea..b04f6e4aedbc 100644 --- a/drivers/soc/amlogic/Kconfig +++ b/drivers/soc/amlogic/Kconfig @@ -12,6 +12,7 @@ config MESON_GX_SOCINFO config MESON_GX_PM_DOMAINS bool "Amlogic Meson GX Power Domains driver" depends on ARCH_MESON || COMPILE_TEST + depends on PM && OF default ARCH_MESON select PM_GENERIC_DOMAINS select PM_GENERIC_DOMAINS_OF |