diff mbox

[4/6] ASoC: rt5640: Include of.h

Message ID 1396591153-10924-4-git-send-email-sachin.kamat@linaro.org
State Accepted
Commit affb74ad299631666e5bf1f455e3baa7035ea58f
Headers show

Commit Message

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/rt5640.c |    1 +
 1 file changed, 1 insertion(+)

Comments

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

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index 68b4dd6..635363c 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -18,6 +18,7 @@ 
 #include <linux/gpio.h>
 #include <linux/i2c.h>
 #include <linux/regmap.h>
+#include <linux/of.h>
 #include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/spi/spi.h>