[alsa-devel] [PATCH 2/6] ASoC: pcm1681: Include linux/of.h header
Sachin Kamat
sachin.kamat at linaro.org
Fri Oct 11 13:53:57 CEST 2013
'of_match_ptr' is defined in linux/of.h. Include it explicitly.
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
sound/soc/codecs/pcm1681.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/pcm1681.c b/sound/soc/codecs/pcm1681.c
index 651ce09..54ea15b 100644
--- a/sound/soc/codecs/pcm1681.c
+++ b/sound/soc/codecs/pcm1681.c
@@ -21,6 +21,7 @@
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/regmap.h>
+#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <sound/pcm.h>
--
1.7.9.5
More information about the Alsa-devel
mailing list