Re: [PATCH V2 linux-next] ASoC: cs53l30: include gpio/consumer.h

2016-06-06 Thread Nicolin Chen
On Mon, Jun 06, 2016 at 07:05:53PM +0200, Fabian Frederick wrote: > cs53l30 breaks kernel compilation when CONFIG_GPIOLIB is disabled. > > sound/soc/codecs/cs53l30.c:931:2: error: implicit declaration of > function devm_gpiod_get_optional [-Werror=implicit-function-declaration] > cs53l30->reset_

Re: [alsa-devel] [PATCH V2 linux-next] ASoC: cs53l30: include gpio/consumer.h

2016-06-06 Thread Handrigan, Paul
On 6/6/16, 12:05 PM, "Fabian Frederick" wrote: >cs53l30 breaks kernel compilation when CONFIG_GPIOLIB is disabled. > >sound/soc/codecs/cs53l30.c:931:2: error: implicit declaration of >function devm_gpiod_get_optional [-Werror=implicit-function-declaration] > cs53l30->reset_gpio = devm_gpiod_ge

[PATCH V2 linux-next] ASoC: cs53l30: include gpio/consumer.h

2016-06-06 Thread Fabian Frederick
cs53l30 breaks kernel compilation when CONFIG_GPIOLIB is disabled. sound/soc/codecs/cs53l30.c:931:2: error: implicit declaration of function devm_gpiod_get_optional [-Werror=implicit-function-declaration] cs53l30->reset_gpio = devm_gpiod_get_optional(dev, "reset", ^ sound/soc/codecs/cs53l30.c: