[alsa-devel] [PATCH] ASoC: ak4118: fix missing header

Clément Péron peron.clem at gmail.com
Mon Feb 4 16:35:38 CET 2019


This driver use the gpio consumer interface.
Add the header as it's needed.

Signed-off-by: Clément Péron <peron.clem at gmail.com>
---

This has been triggered by Kbuild-all for information:
https://lists.01.org/pipermail/kbuild-all/2019-February/057379.html

 sound/soc/codecs/ak4118.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/ak4118.c b/sound/soc/codecs/ak4118.c
index 238ab29f2bf4..ce419e8cf890 100644
--- a/sound/soc/codecs/ak4118.c
+++ b/sound/soc/codecs/ak4118.c
@@ -6,6 +6,7 @@
  */
 
 #include <linux/i2c.h>
+#include <linux/gpio/consumer.h>
 #include <linux/module.h>
 #include <linux/of_device.h>
 #include <linux/of_gpio.h>
-- 
2.19.1



More information about the Alsa-devel mailing list