diff mbox

[v3,08/10] OMAP4: DSS: HDMI: Move the common HDMI header file

Message ID 1314960470-2616-9-git-send-email-mythripk@ti.com (mailing list archive)
State New, archived
Delegated to: Tomi Valkeinen
Headers show

Commit Message

K, Mythri P Sept. 2, 2011, 10:47 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 b6ec4d7..1b989b3 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -33,13 +33,13 @@ 
 #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>
 #include <sound/pcm_params.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 7feead1..d988c10 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>
 
 struct hdmi_reg { u16 idx; };