summaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorPeng Hao <peng.hao2@zte.com.cn>2018-11-16 19:13:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 08:58:52 +0100
commiteb30abeedee76c04bdf41c6d88545472c11a5632 (patch)
tree5ca15b464ef8cf9e8d420c109d0117d5ddf7ac02 /drivers/misc/Kconfig
parenteeabdfabdc53fc77a3404eb874da505f2fee1101 (diff)
downloadlinux-eb30abeedee76c04bdf41c6d88545472c11a5632.tar.bz2
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>
Diffstat (limited to 'drivers/misc/Kconfig')
-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