[5/6] ASoC: tlv320aic23: Include of.h

Message ID 1396591153-10924-5-git-send-email-sachin.kamat@linaro.org
State Accepted
Commit 0faabc4f4c31deb73077e9f77989406e2fc49c77
Headers show

Commit Message

Sachin Kamat April 4, 2014, 5:59 a.m.
of_match_ptr is defined in of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/tlv320aic23-i2c.c |    1 +
 sound/soc/codecs/tlv320aic31xx.c   |    1 +
 2 files changed, 2 insertions(+)

Comments

Mark Brown April 14, 2014, 7:35 p.m. | #1
On Fri, Apr 04, 2014 at 11:29:12AM +0530, Sachin Kamat wrote:
> of_match_ptr is defined in of.h. Include it explicitly.

Applied, thanks.

Patch

diff --git a/sound/soc/codecs/tlv320aic23-i2c.c b/sound/soc/codecs/tlv320aic23-i2c.c
index b73c94e..f137019 100644
--- a/sound/soc/codecs/tlv320aic23-i2c.c
+++ b/sound/soc/codecs/tlv320aic23-i2c.c
@@ -13,6 +13,7 @@ 
 
 #include <linux/i2c.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/regmap.h>
 #include <sound/soc.h>
 
diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c
index fa158cf..b93d500 100644
--- a/sound/soc/codecs/tlv320aic31xx.c
+++ b/sound/soc/codecs/tlv320aic31xx.c
@@ -28,6 +28,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>