goldfish: Fix build error of missing ioremap on UM
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 3 Mar 2016 08:13:49 +0000 (17:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Mar 2016 20:33:58 +0000 (12:33 -0800)
commit16617535684faf9de30620de83667214297a36b8
tree4c4b878f5b7234d409d96cb151af9c33dc767de1
parent564e7f87a0806462898bf67112bc602644476c56
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>
drivers/platform/goldfish/Kconfig