summaryrefslogtreecommitdiffstats
path: root/drivers/power/avs
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2020-01-28 00:53:56 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-01-31 11:07:43 +0100
commitdb5a10c172ed0d41aa4139ef9f1abd8128568267 (patch)
treea5f98630690dc22744da4ed2673d49cfcc29ec96 /drivers/power/avs
parentPM / AVS: rockchip-io: fix the supply naming for the emmc supply on px30 (diff)
downloadlinux-db5a10c172ed0d41aa4139ef9f1abd8128568267.tar.xz
linux-db5a10c172ed0d41aa4139ef9f1abd8128568267.zip
power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
Currently CONFIG_QCOM_CPR=y implicitly depends on CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get the following build error: /usr/bin/ld: drivers/power/avs/qcom-cpr.o: in function `cpr_probe': drivers/power/avs/qcom-cpr.c:1690: undefined reference to `devm_ioremap_resource' Fix the build error by adding the unspecified dependency. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/power/avs')
-rw-r--r--drivers/power/avs/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/avs/Kconfig b/drivers/power/avs/Kconfig
index b8fe166cd0d9..cdb4237bfd02 100644
--- a/drivers/power/avs/Kconfig
+++ b/drivers/power/avs/Kconfig
@@ -14,7 +14,7 @@ menuconfig POWER_AVS
config QCOM_CPR
tristate "QCOM Core Power Reduction (CPR) support"
- depends on POWER_AVS
+ depends on POWER_AVS && HAS_IOMEM
select PM_OPP
select REGMAP
help