Re: [alsa-devel] [PATCH] ASoC: codecs: PCM1789: include gpio/consumer.h

2018-06-14 Thread Linus Walleij
On Wed, May 30, 2018 at 11:53 PM, Arnd Bergmann wrote: > When CONFIG_GPIOLIB is disabled, this codec fails to build > because gpio/consumer.h is not included implicitly. > > sound/soc/codecs/pcm1789.c: In function 'pcm1789_common_init': > sound/soc/codecs/pcm1789.c:247:19: error: implicit declara

[PATCH] ASoC: codecs: PCM1789: include gpio/consumer.h

2018-05-30 Thread Arnd Bergmann
When CONFIG_GPIOLIB is disabled, this codec fails to build because gpio/consumer.h is not included implicitly. sound/soc/codecs/pcm1789.c: In function 'pcm1789_common_init': sound/soc/codecs/pcm1789.c:247:19: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_gp