[alsa-devel] [PATCH 5/6] ASoC: tlv320aic3x: Include linux/of.h header

Sachin Kamat sachin.kamat at linaro.org
Fri Sep 27 13:15:53 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/tlv320aic3x.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index 892c108..f8b9fa6 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -40,6 +40,7 @@
 #include <linux/i2c.h>
 #include <linux/gpio.h>
 #include <linux/regulator/consumer.h>
+#include <linux/of.h>
 #include <linux/of_gpio.h>
 #include <linux/slab.h>
 #include <sound/core.h>
-- 
1.7.9.5



More information about the Alsa-devel mailing list