Re: [PATCH v2 03/18] gpiolib: make cdev a build option
From: Kent Gibson
Date: Sun Jul 26 2020 - 21:46:22 EST
On Mon, Jul 27, 2020 at 12:25:53AM +0200, Linus Walleij wrote:
> On Sat, Jul 25, 2020 at 6:21 AM Kent Gibson <warthog618@xxxxxxxxx> wrote:
> > +config GPIO_CDEV
> > + bool "/dev/gpiochipN (character device interface)"
> > + default y
> I don't want to make it too easy to do this, as I see it as a standard
> kernel feature.
> Can we add:
> depends on EXPERT
> as with other standard kernel features?
But what of the GPIO_CDEV_V1 option to disable uAPI V1 added in patch 04,
and that depends on GPIO_CDEV?
That is equivalent to GPIO_SYSFS, which is not dependent on EXPERT,
so I'll need to restructure the dependencies so it doesn't
inherit the EXPERT dependency.
Unless you also want it to be dependent on EXPERT.
Hmmm, and maybe patch 04 should be later in the series - after V2 is
fully implemented and V1 is deprecated - around patch 11.