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

From: Greg Kroah-Hartman
Date: Thu Feb 21 2019 - 11:47:51 EST


On Thu, Feb 21, 2019 at 05:26:27PM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> We only build devm_ioremap_resource() if HAS_IOMEM is selected, so this
> dependency must cascade down to devm_platform_ioremap_resource().
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> ---
> drivers/base/platform.c | 2 ++
> 1 file changed, 2 insertions(+)

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>