Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Andy Shevchenko
On Thu, Apr 27, 2017 at 5:29 PM, Anatolij Gustschin wrote: > On Thu, 27 Apr 2017 16:25:34 +0200 > Anatolij Gustschin ag...@denx.de wrote: > >>On Thu, 27 Apr 2017 17:07:23 +0300 >>Andy Shevchenko andy.shevche...@gmail.com wrote: > ... >>>static inline void

Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Andy Shevchenko
On Thu, Apr 27, 2017 at 5:29 PM, Anatolij Gustschin wrote: > On Thu, 27 Apr 2017 16:25:34 +0200 > Anatolij Gustschin ag...@denx.de wrote: > >>On Thu, 27 Apr 2017 17:07:23 +0300 >>Andy Shevchenko andy.shevche...@gmail.com wrote: > ... >>>static inline void gpiod_add_lookup_table(struct

Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Anatolij Gustschin
On Thu, 27 Apr 2017 16:25:34 +0200 Anatolij Gustschin ag...@denx.de wrote: >On Thu, 27 Apr 2017 17:07:23 +0300 >Andy Shevchenko andy.shevche...@gmail.com wrote: ... >>static inline void gpiod_add_lookup_table(struct gpiod_lookup_table *table) {} >>static inline void

Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Anatolij Gustschin
On Thu, 27 Apr 2017 16:25:34 +0200 Anatolij Gustschin ag...@denx.de wrote: >On Thu, 27 Apr 2017 17:07:23 +0300 >Andy Shevchenko andy.shevche...@gmail.com wrote: ... >>static inline void gpiod_add_lookup_table(struct gpiod_lookup_table *table) {} >>static inline void

Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Anatolij Gustschin
On Thu, 27 Apr 2017 17:07:23 +0300 Andy Shevchenko andy.shevche...@gmail.com wrote: >On Thu, Apr 27, 2017 at 9:52 AM, Anatolij Gustschin wrote: >> Add stubs for gpiod_add_lookup_table() and gpiod_remove_lookup_table() >> for the !GPIOLIB case to prevent build errors. Also add

Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Anatolij Gustschin
On Thu, 27 Apr 2017 17:07:23 +0300 Andy Shevchenko andy.shevche...@gmail.com wrote: >On Thu, Apr 27, 2017 at 9:52 AM, Anatolij Gustschin wrote: >> Add stubs for gpiod_add_lookup_table() and gpiod_remove_lookup_table() >> for the !GPIOLIB case to prevent build errors. Also add prototypes. >> >>

Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Andy Shevchenko
On Thu, Apr 27, 2017 at 9:52 AM, Anatolij Gustschin wrote: > 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 > Reviewed-by: Andy

Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Andy Shevchenko
On Thu, Apr 27, 2017 at 9:52 AM, Anatolij Gustschin wrote: > 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 > Reviewed-by: Andy Shevchenko Oh, has to take my tag

[PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Anatolij Gustschin
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 Reviewed-by: Andy Shevchenko --- Changes in v2: move gpiod_lookup_table out of

[PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

2017-04-27 Thread Anatolij Gustschin
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 Reviewed-by: Andy Shevchenko --- Changes in v2: move gpiod_lookup_table out of #ifdef include/linux/gpio/consumer.h |