diff options
author | Fabian Frederick <fabf@skynet.be> | 2016-12-09 19:12:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-15 11:42:15 +0000 |
commit | 5d079fdc12ffe1f939890035f5172374b5c0f2be (patch) | |
tree | 606ff6d2efb2b0d0c99629b62dc58483994250df /sound/soc/samsung | |
parent | e85a709974db40779f5942ed81e9262c62179863 (diff) | |
download | linux-stable-5d079fdc12ffe1f939890035f5172374b5c0f2be.tar.gz linux-stable-5d079fdc12ffe1f939890035f5172374b5c0f2be.tar.bz2 linux-stable-5d079fdc12ffe1f939890035f5172374b5c0f2be.zip |
ASoC: samsung: include gpio consumer.h
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]
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r-- | sound/soc/samsung/tm2_wm5110.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/tm2_wm5110.c b/sound/soc/samsung/tm2_wm5110.c index 5cdf7d19b87f..24cc9d63ce87 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> |