diff mbox

[v4,09/11] OMAP4: DSS: HDMI: Move the common HDMI header file

Message ID 1315310335-26054-10-git-send-email-mythripk@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

K, Mythri P Sept. 6, 2011, 11:58 a.m. UTC
From: Mythri P K <mythripk@ti.com>

Some of the header file definitions of HDMI IP are needed by audio driver thus
moving the common defintion to more generic location Include/video.

Signed-off-by: Mythri P K <mythripk@ti.com>
---
 drivers/video/omap2/dss/hdmi.c                     |    2 +-
 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h          |    2 +-
 .../video/omap2/dss => include/video}/ti_hdmi.h    |    0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename {drivers/video/omap2/dss => include/video}/ti_hdmi.h (100%)

diff --git a/drivers/video/omap2/dss/ti_hdmi.h b/include/video/ti_hdmi.h
similarity index 100%
rename from drivers/video/omap2/dss/ti_hdmi.h
rename to include/video/ti_hdmi.h
diff mbox

Patch

diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index 32af867..b11ac70 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -33,6 +33,7 @@ 
 #include <linux/pm_runtime.h>
 #include <linux/clk.h>
 #include <video/omapdss.h>
+#include <video/ti_hdmi.h>
 #if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \
 	defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE)
 #include <sound/soc.h>
@@ -40,7 +41,6 @@ 
 #include "ti_hdmi_4xxx_ip.h"
 #endif
 
-#include "ti_hdmi.h"
 #include "dss.h"
 #include "dss_features.h"
 
diff --git a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
index 929de88..e08239e 100644
--- a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
+++ b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
@@ -23,7 +23,7 @@ 
 
 #include <linux/string.h>
 #include <video/omapdss.h>
-#include "ti_hdmi.h"
+#include <video/ti_hdmi.h>
 #if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \
 	defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE)
 #include <sound/soc.h>