diff options
author | Peng Hao <peng.hao2@zte.com.cn> | 2018-11-16 12:13:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 08:58:52 +0100 |
commit | eb30abeedee76c04bdf41c6d88545472c11a5632 (patch) | |
tree | 5ca15b464ef8cf9e8d420c109d0117d5ddf7ac02 | |
parent | MAINTAINERS: Add reviewer for CoreSight sub-system (diff) | |
download | linux-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/Kconfig | 2 |
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 |