[2/6] ASoC: hdmi: Include of.h

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

Comments

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

Applied, thanks.

Patch

diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c
index 9cb1c7d..1087fd5 100644
--- a/sound/soc/codecs/hdmi.c
+++ b/sound/soc/codecs/hdmi.c
@@ -20,6 +20,7 @@ 
  */
 #include <linux/module.h>
 #include <sound/soc.h>
+#include <linux/of.h>
 #include <linux/of_device.h>
 
 #define DRV_NAME "hdmi-audio-codec"