Re: [PATCH] drivers: depend on HAS_IOMEM for devm_platform_ioremap_resource()

From: Linus Walleij
Date: Fri Feb 22 2019 - 11:22:35 EST

On Fri, Feb 22, 2019 at 3:22 PM Rob Herring <rob.herring@xxxxxxxxxx> wrote:

> Just a drive by comment, but IMO we should just get rid of HAS_IOMEM
> altogether. It is really just a !UML option as I think every other
> arch enables it. If folks really want to disable drivers on UML, just
> disable the subsystems.

I just got a build failure from S390 for the same thing so apparently
there is S390 Linux without IOMEM. I have no idea how that works
but whenever Arnd start talking to me about how S390 works
my head start spinning.

Linus Walleij