diff options
author | Vincent Stehlé <vincent.stehle@laposte.net> | 2015-02-11 17:08:59 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-11 21:55:36 -0500 |
commit | 5c8be987d4d9c0262e6229e342fa0da8a5aeee47 (patch) | |
tree | e6913d98ede21683aa0a464a3d866ad22b9e3bc6 /sound | |
parent | ffa047577127336861d91f3934133f8e8906d1b4 (diff) |
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 @@ | |||
14 | 14 | ||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
17 | #include <linux/gpio/consumer.h> | ||
17 | #include <sound/soc.h> | 18 | #include <sound/soc.h> |
18 | 19 | ||
19 | #define DRV_NAME "max98357a" | 20 | #define DRV_NAME "max98357a" |