Re: [PATCH] staging: iio: adt7316: Fix build errors when GPIOLIB is not set

2019-06-05 Thread Phil Reid
G'day Fabio, On 6/06/2019 09:42, Fabio Estevam wrote: On x86_64 when GPIOLIB is not set the following build errors are seen: drivers/staging/iio/addac/adt7316.c:947:3: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration] drivers/staging/iio/addac/ad

Re: [PATCH] staging: iio: adt7316: Fix build errors when GPIOLIB is not set

2019-06-05 Thread Fabio Estevam
Hi Phil, On Wed, Jun 5, 2019 at 10:59 PM Phil Reid wrote: > > #include > This should be removed as well. > See comment at top of linux/gpio.h Good catch! Just sent a v2. Thanks ___ devel mailing list de...@linuxdriverproject.org http://driverdev.l

[PATCH] staging: iio: adt7316: Fix build errors when GPIOLIB is not set

2019-06-05 Thread Fabio Estevam
On x86_64 when GPIOLIB is not set the following build errors are seen: drivers/staging/iio/addac/adt7316.c:947:3: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration] drivers/staging/iio/addac/adt7316.c:1805:2: error: implicit declaration of function