Re: [PATCH] goldfish: Fix build error of missing ioremap on UM

From: Alan Cox
Date: Fri Mar 04 2016 - 10:49:22 EST


On Thu, 2016-03-03 at 17:13 +0900, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxxx>

Reviewed-by: Alan Cox <alan@xxxxxxxxxxxxxxx>

Thanks for that - I was trying to work out where that weird 0day
complaint was coming from.

Alan