Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932675AbcCCIOE (ORCPT ); Thu, 3 Mar 2016 03:14:04 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:36640 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932242AbcCCIOB (ORCPT ); Thu, 3 Mar 2016 03:14:01 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfec7f4-f79026d00000418a-e6-56d7f2469b3d Content-transfer-encoding: 8BIT From: Krzysztof Kozlowski To: Jin Qian , Alan Cox , Greg Kroah-Hartman , Greg Hackmann , Miodrag Dinic , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH] goldfish: Fix build error of missing ioremap on UM Date: Thu, 03 Mar 2016 17:13:49 +0900 Message-id: <1456992829-23300-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsVy+t/xa7pun66HGVx/r2Vx4fkFFovjy2az WTQvXs9mceFhocXrF4YWl3fNYbO4cvgTmwO7x7bd21g9Fmwq9ejZeYbRY97JQI/9c9ewe/Rt WcXo8XmTXAB7FJdNSmpOZllqkb5dAlfG1DvN7AWLOCqeL1zC1MDYzN7FyMkhIWAicXrCYRYI W0ziwr31bF2MXBxCAksZJb6fbWQFSfAKCEr8mHwPqIiDg1lAXuLIpWyQMLOAusSkeYuYIer/ M0os/nUVrJ5NwFhi8/IlYINEBGYySey9P4UdpFlYwFni7TM5kBoWAVWJ729OQs13l3h4fT3Y fAkBOYkFF9InMPLOQrJ5FsLmWUg2L2BkXsUomlqaXFCclJ5rqFecmFtcmpeul5yfu4kREqRf djAuPmZ1iFGAg1GJh/dGw/UwIdbEsuLK3EOMEhzMSiK8x58AhXhTEiurUovy44tKc1KLDzFK c7AoifPO3fU+REggPbEkNTs1tSC1CCbLxMEp1cAY46Gbp86Yxn32SI7RVYPQZ+cPXzmmVNrc 3LJbif3ktjQT839z3piI+sx4eyr7/VPGjbJtjr1yHx4vuR0s5qqhYOa09UfWmeanE0MSrdVX btvYZ3wjs2Wu7r/TtlEWXkGxdbHJmtbz7PSWbzp59rOzzsunf+MrVm/KWlL06x6TyedFMY8P HZFTYinOSDTUYi4qTgQA6qXVVE4CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 26 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 --- drivers/platform/goldfish/Kconfig | 1 + 1 file changed, 1 insertion(+) 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. -- 2.5.0