summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap2/dss/hdmi4_core.h
diff options
context:
space:
mode:
authorJyri Sarha2014-08-22 14:15:47 +0200
committerTomi Valkeinen2014-11-26 09:41:07 +0100
commit12d3ea9a17783f3a56906b0e02efcad979955f3b (patch)
tree8a0b40294ab69394d60d8fae1f80b67d314ea4e1 /drivers/video/fbdev/omap2/dss/hdmi4_core.h
parentOMAPDSS: hdmi.h: Add HDMI_AUDIO_LAYOUT_6CH enum value (diff)
downloadkernel-qcow2-linux-12d3ea9a17783f3a56906b0e02efcad979955f3b.tar.gz
kernel-qcow2-linux-12d3ea9a17783f3a56906b0e02efcad979955f3b.tar.xz
kernel-qcow2-linux-12d3ea9a17783f3a56906b0e02efcad979955f3b.zip
OMAPDSS: hdmi: Remove most of OMAP[45]_DSS_HDMI_AUDIO ifdefs
It does not waste too many bytes to compile all audio related core functions always in with HDMI support. It should help readability and in keeping the audio code in working shape. Leave the options just for disabling and enabling the functionality in hdmi[45].c. Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/hdmi4_core.h')
-rw-r--r--drivers/video/fbdev/omap2/dss/hdmi4_core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4_core.h b/drivers/video/fbdev/omap2/dss/hdmi4_core.h
index 827909eb6c50..c1959f7df7df 100644
--- a/drivers/video/fbdev/omap2/dss/hdmi4_core.h
+++ b/drivers/video/fbdev/omap2/dss/hdmi4_core.h
@@ -266,12 +266,10 @@ void hdmi4_configure(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
void hdmi4_core_dump(struct hdmi_core_data *core, struct seq_file *s);
int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core);
-#if defined(CONFIG_OMAP4_DSS_HDMI_AUDIO)
int hdmi4_audio_start(struct hdmi_core_data *core, struct hdmi_wp_data *wp);
void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp);
int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
struct omap_dss_audio *audio, u32 pclk);
int hdmi4_audio_get_dma_port(u32 *offset, u32 *size);
-#endif
#endif