power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
authorBrendan Higgins <brendanhiggins@google.com>
Mon, 27 Jan 2020 23:53:56 +0000 (15:53 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 31 Jan 2020 10:07:43 +0000 (11:07 +0100)
commitdb5a10c172ed0d41aa4139ef9f1abd8128568267
treea5f98630690dc22744da4ed2673d49cfcc29ec96
parentadef0cedeaaee0a1a9495adb599806d3c0a8b31e
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>
drivers/power/avs/Kconfig