Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538868 > unrolled thread

[PATCH V2 1/2] ASoC: samsung: include gpio consumer.h

Started byFabian Frederick <fabf@skynet.be>
First post2016-12-08 21:50 +0100
Last post2016-12-08 21:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH V2 1/2] ASoC: samsung: include gpio consumer.h Fabian Frederick <fabf@skynet.be> - 2016-12-08 21:50 +0100

#1538868 — [PATCH V2 1/2] ASoC: samsung: include gpio consumer.h

FromFabian Frederick <fabf@skynet.be>
Date2016-12-08 21:50 +0100
Subject[PATCH V2 1/2] ASoC: samsung: include gpio consumer.h
Message-ID<sMdND-2nu-9@gated-at.bofh.it>
Fix the following build errors on X86_32 !GPIOLIB

sound/soc/samsung/tm2_wm5110.c:220:3: error: implicit declaration
of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
sound/soc/samsung/tm2_wm5110.c:438:24: error: implicit declaration
of function 'devm_gpiod_get' [-Werror=implicit-function-declaration]

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
V2:
   -Add configuration settings (suggested by Krzysztof Kozlowski)

 sound/soc/samsung/tm2_wm5110.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/samsung/tm2_wm5110.c b/sound/soc/samsung/tm2_wm5110.c
index 5cdf7d1..24cc9d6 100644
--- a/sound/soc/samsung/tm2_wm5110.c
+++ b/sound/soc/samsung/tm2_wm5110.c
@@ -12,6 +12,7 @@
 
 #include <linux/clk.h>
 #include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
 #include <linux/module.h>
 #include <linux/of.h>
 #include <sound/pcm_params.h>
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web