linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1 linux-next] ASoC: samsung: include gpio consumer.h
@ 2016-12-07  7:39 Fabian Frederick
  2016-12-07 17:55 ` Krzysztof Kozlowski
  2016-12-15 12:21 ` Applied "ASoC: samsung: include gpio consumer.h" to the asoc tree Mark Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Fabian Frederick @ 2016-12-07  7:39 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Sylwester Nawrocki; +Cc: alsa-devel, linux-kernel, fabf

Fix the following build errors
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>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-15 12:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-07  7:39 [PATCH 1/1 linux-next] ASoC: samsung: include gpio consumer.h Fabian Frederick
2016-12-07 17:55 ` Krzysztof Kozlowski
2016-12-07 20:31   ` Fabian Frederick
2016-12-08 17:39     ` Krzysztof Kozlowski
2016-12-15 12:21 ` Applied "ASoC: samsung: include gpio consumer.h" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).