diff options
author | Jyri Sarha <jsarha@ti.com> | 2014-08-22 13:26:00 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-11-26 03:41:07 -0500 |
commit | a42808c7470a4e45f640138dad8effa272de27c1 (patch) | |
tree | 4b13af98b78f0d0baa4d5c26f6dfcf0b066c57ba | |
parent | 12d3ea9a17783f3a56906b0e02efcad979955f3b (diff) |
OMAPDSS: hdmi4_core: Remove unused hdmi4_audio_get_dma_port()
hdmi4_audio_get_dma_port() is unused and and broken.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi4_core.c | 9 | ||||
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi4_core.h | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4_core.c b/drivers/video/fbdev/omap2/dss/hdmi4_core.c index 3b448d9ecd31..7eafea5b8e19 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi4_core.c +++ b/drivers/video/fbdev/omap2/dss/hdmi4_core.c | |||
@@ -874,15 +874,6 @@ void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp) | |||
874 | hdmi_wp_audio_core_req_enable(wp, false); | 874 | hdmi_wp_audio_core_req_enable(wp, false); |
875 | } | 875 | } |
876 | 876 | ||
877 | int hdmi4_audio_get_dma_port(u32 *offset, u32 *size) | ||
878 | { | ||
879 | if (!offset || !size) | ||
880 | return -EINVAL; | ||
881 | *offset = HDMI_WP_AUDIO_DATA; | ||
882 | *size = 4; | ||
883 | return 0; | ||
884 | } | ||
885 | |||
886 | int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core) | 877 | int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core) |
887 | { | 878 | { |
888 | struct resource *res; | 879 | struct resource *res; |
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4_core.h b/drivers/video/fbdev/omap2/dss/hdmi4_core.h index c1959f7df7df..a069f96ec6f6 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi4_core.h +++ b/drivers/video/fbdev/omap2/dss/hdmi4_core.h | |||
@@ -270,6 +270,4 @@ int hdmi4_audio_start(struct hdmi_core_data *core, struct hdmi_wp_data *wp); | |||
270 | void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp); | 270 | void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp); |
271 | int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp, | 271 | int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp, |
272 | struct omap_dss_audio *audio, u32 pclk); | 272 | struct omap_dss_audio *audio, u32 pclk); |
273 | int hdmi4_audio_get_dma_port(u32 *offset, u32 *size); | ||
274 | |||
275 | #endif | 273 | #endif |