summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-05-30 23:53:45 +0200
committerMark Brown <broonie@kernel.org>2018-05-31 11:24:42 +0100
commit3217004ad97fdae6663e8e75c443d8e616cb7fd0 (patch)
tree2205ae96fd3a887f1852f5893cf082544b8d3802 /sound/soc/mediatek
parentb91530f0a39edd82aa1b286bd921d052eb747f31 (diff)
downloadlinux-stable-3217004ad97fdae6663e8e75c443d8e616cb7fd0.tar.gz
linux-stable-3217004ad97fdae6663e8e75c443d8e616cb7fd0.tar.bz2
linux-stable-3217004ad97fdae6663e8e75c443d8e616cb7fd0.zip
ASoC: codecs: PCM1789: include gpio/consumer.h
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_gpio_request_one'? [-Werror=implicit-function-declaration] pcm1789->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: 4ae340d1be36 ("ASoC: codecs: Add support for PCM1789") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek')
0 files changed, 0 insertions, 0 deletions