diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-05-11 13:37:47 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-05-15 03:33:22 +0200 |
commit | e23c7f7d57831fdae444be9d507e67716ab601d4 (patch) | |
tree | 64b9dcde862e5d2942f379ea7739ba07a1c102f4 /drivers/soc/imx | |
parent | ARM: dts: imx6sx-sdb: Remove OPP override (diff) | |
download | linux-e23c7f7d57831fdae444be9d507e67716ab601d4.tar.xz linux-e23c7f7d57831fdae444be9d507e67716ab601d4.zip |
soc: imx: add PM dependency for IMX7_PM_DOMAINS
The new pm domain driver causes a build failure when CONFIG_PM
is not set:
warning: (IMX7_PM_DOMAINS) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM)
drivers/base/power/domain_governor.c: In function 'default_suspend_ok':
drivers/base/power/domain_governor.c:75:17: error: 'struct dev_pm_info' has no member named 'ignore_children'
This adds a dependency to ensure that we don't attempt to build the
driver without CONFIG_PM.
Fixes: 03aa12629fc4 ("soc: imx: Add GPCv2 power gating driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/imx')
-rw-r--r-- | drivers/soc/imx/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index 357a5d8f8da0..a5b86a28f343 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -2,8 +2,9 @@ menu "i.MX SoC drivers" config IMX7_PM_DOMAINS bool "i.MX7 PM domains" - select PM_GENERIC_DOMAINS depends on SOC_IMX7D || (COMPILE_TEST && OF) + depends on PM + select PM_GENERIC_DOMAINS default y if SOC_IMX7D endmenu |