summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/omap2/dss/hdmi_wp.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-13 14:44:14 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-05-09 16:11:30 +0400
commitf5bab22291908dc395c018f12c8485ef5fc9b90a (patch)
treec06e73ad21ffe4cbbaffa42656db6e52bebc5757 /drivers/video/fbdev/omap2/dss/hdmi_wp.c
parent2d64b1b314bb52463b444e9c5aa1a2d399e694d2 (diff)
downloadlinux-f5bab22291908dc395c018f12c8485ef5fc9b90a.tar.xz
OMAPDSS: HDMI: Add OMAP5 HDMI support
This adds a new driver to omapdss for OMAP5 HDMI. However, the new driver uses common HDMI files which are shared with OMAP4 HDMI driver. OMAP5 HDMI has a different HDMI core IP compared to OMAP4, but has very similar PLL and PHY IPs which can be handled with common code. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/hdmi_wp.c')
-rw-r--r--drivers/video/fbdev/omap2/dss/hdmi_wp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi_wp.c b/drivers/video/fbdev/omap2/dss/hdmi_wp.c
index f5f4ccf50d90..a16a190e191d 100644
--- a/drivers/video/fbdev/omap2/dss/hdmi_wp.c
+++ b/drivers/video/fbdev/omap2/dss/hdmi_wp.c
@@ -185,7 +185,7 @@ void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
timings->interlace = param->timings.interlace;
}
-#if defined(CONFIG_OMAP4_DSS_HDMI_AUDIO)
+#if defined(CONFIG_OMAP4_DSS_HDMI_AUDIO) || defined(CONFIG_OMAP5_DSS_HDMI_AUDIO)
void hdmi_wp_audio_config_format(struct hdmi_wp_data *wp,
struct hdmi_audio_format *aud_fmt)
{