* [PATCH V2 1/2] ASoC: samsung: include gpio consumer.h
@ 2016-12-08 20:43 Fabian Frederick
2016-12-08 20:47 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frederick @ 2016-12-08 20:43 UTC (permalink / raw)
To: Mark Brown, Krzysztof Kozlowski, Sylwester Nawrocki
Cc: Geert Uytterhoeven, alsa-devel, linux-kernel, fabf
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V2 1/2] ASoC: samsung: include gpio consumer.h
2016-12-08 20:43 [PATCH V2 1/2] ASoC: samsung: include gpio consumer.h Fabian Frederick
@ 2016-12-08 20:47 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2016-12-08 20:47 UTC (permalink / raw)
To: Fabian Frederick
Cc: Mark Brown, Krzysztof Kozlowski, Sylwester Nawrocki,
Geert Uytterhoeven, alsa-devel, linux-kernel
On Thu, Dec 08, 2016 at 09:43:01PM +0100, Fabian Frederick wrote:
> 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(+)
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-08 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-08 20:43 [PATCH V2 1/2] ASoC: samsung: include gpio consumer.h Fabian Frederick
2016-12-08 20:47 ` Krzysztof Kozlowski
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).