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

2019-06-08 Thread Jonathan Cameron
On Wed, 5 Jun 2019 20:24:09 -0700 Randy Dunlap wrote: > On 6/5/19 7:05 PM, 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' [-Werro

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

2019-06-05 Thread Randy Dunlap
On 6/5/19 7:05 PM, 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/adt7316

[PATCH v2] 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