Messages in this thread | | | From | Linus Walleij <> | Date | Fri, 28 Apr 2017 10:43:19 +0200 | Subject | Re: |
| |
On Fri, Apr 28, 2017 at 10:20 AM, Anatolij Gustschin <agust@denx.de> wrote:
> Subject: [PATCH v3] gpiolib: Add stubs for gpiod lookup table interface > > Add stubs for gpiod_add_lookup_table() and gpiod_remove_lookup_table() > for the !GPIOLIB case to prevent build errors. Also add prototypes. > > Signed-off-by: Anatolij Gustschin <agust@denx.de> > --- > Changes in v3: > - add stubs for !GPIOLIB case. Drop prototypes, these are > already in gpio/machine.h
Yeah...
> --- a/include/linux/gpio/consumer.h > +++ b/include/linux/gpio/consumer.h
So why should the stubs be in <linux/gpio/consumer.h> and not in <linux/gpio/machine.h>?
Yours, Linus Walleij
| |