[3/6] ASoC: max98090: Include of.h

Message ID 1396591153-10924-3-git-send-email-sachin.kamat@linaro.org
State Accepted
Commit 6e1f29d4ef1c13ab87fe785fe6e1213d57232a31
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/max98090.c |    1 +
 1 file changed, 1 insertion(+)

Comments

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

Applied, thanks.

Patch

diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index f7b0b37..4959e76 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -11,6 +11,7 @@ 
 #include <linux/delay.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/pm.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>