ASoC: cs4349: include gpio/consumer.h
authorakpm@linux-foundation.org <akpm@linux-foundation.org>
Fri, 17 Jul 2015 22:43:46 +0000 (15:43 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 20 Jul 2015 17:32:31 +0000 (18:32 +0100)
s390 allmodconfig:

sound/soc/codecs/cs4349.c: In function 'cs4349_i2c_probe':
sound/soc/codecs/cs4349.c:300: error: implicit declaration of function 'devm_gpiod_get_optional'
sound/soc/codecs/cs4349.c:301: error: 'GPIOD_OUT_LOW' undeclared (first use in this function)
sound/soc/codecs/cs4349.c:301: error: (Each undeclared identifier is reported only once
sound/soc/codecs/cs4349.c:301: error: for each function it appears in.)
sound/soc/codecs/cs4349.c:306: error: implicit declaration of function 'gpiod_set_value_cansleep'

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4349.c

index 2569010ee3962ce4f30b7622da3fff65471a0708..a7538aea7f993bf0f5c7f5b9cf4c7b500f7f8402 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
 #include <linux/i2c.h>