Re: [PATCH] reset: imx7: add 'depends on HAS_IOMEM' to fix unmet dependency

From: Philipp Zabel
Date: Tue Mar 06 2018 - 08:21:24 EST


Hi Masahiro,

On Tue, 2018-03-06 at 20:15 +0900, Masahiro Yamada wrote:
> This config select's MFD_SYSCON, but does not depend on HAS_IOMEM.
>
> Compile testing on architecture without HAS_IOMEM causes "unmet
> direct dependencies" in Kconfig phase.
>
> Detected by "make ARCH=score allyesconfig".
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Thank you, applied to reset/next.

>
> ---
>
> Arnd Bergmann and I discussed how to fix unmet dependency of MFD_SYSCON.
> https://lkml.org/lkml/2018/2/27/284
>
> We agreed to add 'depends on HAS_IOMEM' to drivers causing
> unmet dependency.

Agreed, RESET_TI_SYSCON already does the same. Thanks for the context.

regards
Philipp