summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Hao <peng.hao2@zte.com.cn>2018-11-16 12:13:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 08:58:52 +0100
commiteb30abeedee76c04bdf41c6d88545472c11a5632 (patch)
tree5ca15b464ef8cf9e8d420c109d0117d5ddf7ac02
parentMAINTAINERS: Add reviewer for CoreSight sub-system (diff)
downloadlinux-eb30abeedee76c04bdf41c6d88545472c11a5632.tar.xz
linux-eb30abeedee76c04bdf41c6d88545472c11a5632.zip
misc/pvpanic: resolve compile errors for arch=um
Resolve compile error for arch=um pvpanic.c:(.text+0xb6): undefined reference to `devm_ioremap_resource' Signed-off-by: Peng Hao <peng.hao2@zte.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 642626ac1df1..f417b06e11c5 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -515,7 +515,7 @@ config MISC_RTSX
config PVPANIC
tristate "pvpanic device support"
- depends on ACPI || OF
+ depends on HAS_IOMEM && (ACPI || OF)
help
This driver provides support for the pvpanic device. pvpanic is
a paravirtualized device provided by QEMU; it lets a virtual machine