summaryrefslogtreecommitdiff
path: root/drivers/platform/goldfish
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-03-03 11:13:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-05 23:33:58 +0300
commit16617535684faf9de30620de83667214297a36b8 (patch)
tree4c4b878f5b7234d409d96cb151af9c33dc767de1 /drivers/platform/goldfish
parent564e7f87a0806462898bf67112bc602644476c56 (diff)
downloadlinux-16617535684faf9de30620de83667214297a36b8.tar.xz
goldfish: Fix build error of missing ioremap on UM
Add missing HAS_IOMEM dependency to fix the allyesconfig build error on ARCH=um (for x86_64): drivers/platform/goldfish/pdev_bus.c: In function ‘goldfish_pdev_bus_probe’: drivers/platform/goldfish/pdev_bus.c:191:18: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration] pdev_bus_base = ioremap(pdev_bus_addr, pdev_bus_len); Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/goldfish')
-rw-r--r--drivers/platform/goldfish/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/goldfish/Kconfig b/drivers/platform/goldfish/Kconfig
index 50331e3e54f3..fefbb8370da0 100644
--- a/drivers/platform/goldfish/Kconfig
+++ b/drivers/platform/goldfish/Kconfig
@@ -1,6 +1,7 @@
menuconfig GOLDFISH
bool "Platform support for Goldfish virtual devices"
depends on X86_32 || X86_64 || ARM || ARM64 || MIPS
+ depends on HAS_IOMEM
---help---
Say Y here to get to see options for the Goldfish virtual platform.
This option alone does not add any kernel code.