Commit 16617535 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman

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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 564e7f87
menuconfig GOLDFISH menuconfig GOLDFISH
bool "Platform support for Goldfish virtual devices" bool "Platform support for Goldfish virtual devices"
depends on X86_32 || X86_64 || ARM || ARM64 || MIPS depends on X86_32 || X86_64 || ARM || ARM64 || MIPS
depends on HAS_IOMEM
---help--- ---help---
Say Y here to get to see options for the Goldfish virtual platform. Say Y here to get to see options for the Goldfish virtual platform.
This option alone does not add any kernel code. This option alone does not add any kernel code.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment