Re: [PATCH v2 03/18] gpiolib: make cdev a build option

From: Linus Walleij
Date: Mon Jul 27 2020 - 04:15:57 EST


On Mon, Jul 27, 2020 at 7:57 AM Kent Gibson <warthog618@xxxxxxxxx> wrote:

> I've gone with this:
>
> +config GPIO_CDEV
> + bool
> + prompt "Character device (/dev/gpiochipN) support" if EXPERT
> + default y
>
> so the entry is always present in menuconfig, and GPIO_CDEV_V1 can still
> depend on it, but GPIO_CDEV can only be disabled if EXPERT is set.

This is perfect, thanks Kent!

Yours,
Linus Walleij