Re: [PATCH -next] gpio: fix SNPS_CREG kconfig dependency warning

From: Linus Walleij
Date: Mon Oct 15 2018 - 10:24:54 EST


On Sat, Oct 13, 2018 at 5:46 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Fix kconfig warning for GPIO_SNPS_CREG:
>
> WARNING: unmet direct dependencies detected for OF_GPIO
> Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y]
> Selected by [y]:
> - GPIO_SNPS_CREG [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (ARC || COMPILE_TEST [=y])
>
> Drivers in drivers/gpio/Kconfig depend on OF_GPIO, not select it.
> This prevents attempting to build when OF is not enabled.
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: linux-gpio@xxxxxxxxxxxxxxx
> Cc: Eugeniy Paltsev <Eugeniy.Paltsev@xxxxxxxxxxxx>
> ---
> Found in mmotm but comes from/applies to linux-next.

Patch applied, thanks!

Yours,
Linus Walleij