diff options
author | Vincent Stehlé <vincent.stehle@laposte.net> | 2015-02-11 23:08:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-12 10:55:36 +0800 |
commit | 5c8be987d4d9c0262e6229e342fa0da8a5aeee47 (patch) | |
tree | e6913d98ede21683aa0a464a3d866ad22b9e3bc6 /sound | |
parent | ffa047577127336861d91f3934133f8e8906d1b4 (diff) | |
download | linux-5c8be987d4d9c0262e6229e342fa0da8a5aeee47.tar.gz linux-5c8be987d4d9c0262e6229e342fa0da8a5aeee47.tar.bz2 linux-5c8be987d4d9c0262e6229e342fa0da8a5aeee47.zip |
ASoC: max98357a: Fix missing include
This fixes the following compilation errors:
sound/soc/codecs/max98357a.c: In function ‘max98357a_daiops_trigger’:
sound/soc/codecs/max98357a.c:30:3: error: implicit declaration of function ‘gpiod_set_value’ [-Werror=implicit-function-declaration]
sound/soc/codecs/max98357a.c: In function ‘max98357a_codec_probe’:
sound/soc/codecs/max98357a.c:55:2: error: implicit declaration of function ‘devm_gpiod_get’ [-Werror=implicit-function-declaration]
sound/soc/codecs/max98357a.c:61:2: error: implicit declaration of function ‘gpiod_direction_output’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Kenneth Westfield <kwestfie@codeaurora.org>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/max98357a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c index 1806333ea29e..f493fb6fd4ea 100644 --- a/sound/soc/codecs/max98357a.c +++ b/sound/soc/codecs/max98357a.c @@ -14,6 +14,7 @@ #include <linux/module.h> #include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <sound/soc.h> #define DRV_NAME "max98357a" |