Re: [RFC PATCH] platform: ioremap: Build iomap functions even without HAS_IOMEM

2020-07-23 Thread Jonathan Cameron
On Mon, 20 Jul 2020 22:45:28 -0700 David Gow wrote: > A number of drivers use devm_platform_ioremap_resource(), but do not (or > did not) explicitly depend on IOMEM[1,2]. Given that the only platform > without HAS_IOMEM seems to be UML, and it has sufficient stubs for >

Re: [RFC PATCH] platform: ioremap: Build iomap functions even without HAS_IOMEM

2020-07-21 Thread Brendan Higgins
On Mon, Jul 20, 2020 at 10:45 PM David Gow wrote: > > A number of drivers use devm_platform_ioremap_resource(), but do not (or > did not) explicitly depend on IOMEM[1,2]. Given that the only platform > without HAS_IOMEM seems to be UML, and it has sufficient stubs for >

[RFC PATCH] platform: ioremap: Build iomap functions even without HAS_IOMEM

2020-07-20 Thread David Gow
A number of drivers use devm_platform_ioremap_resource(), but do not (or did not) explicitly depend on IOMEM[1,2]. Given that the only platform without HAS_IOMEM seems to be UML, and it has sufficient stubs for devm_platform_ioremap_resource() and its dependencies to build, we can remove the