diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-05-30 10:26:28 (GMT) |
---|---|---|
committer | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-06-03 13:06:36 (GMT) |
commit | 5fd7447a215b31a4dba78423c61d1525dbcda83f (patch) | |
tree | 0288c760232c414cf30e7f324d8762b1e0513ff0 /include | |
parent | f28316f2fd6cbd012dbc09b1bbd12be660112ddb (diff) | |
download | linux-5fd7447a215b31a4dba78423c61d1525dbcda83f.tar.xz |
omapdss: hdmi audio: Make header file independent of video/omapdss.h
Clean up the header files regarding to hdmi audio so the omap-hdmi-audio.h
file will only need to include the platform_data/omapdss.h file.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
CC: Mark Brown <broonie@kernel.org>
CC: Jyri Sarha <jsarha@ti.com>
CC: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/omap-hdmi-audio.h | 9 | ||||
-rw-r--r-- | include/video/omapdss.h | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/sound/omap-hdmi-audio.h b/include/sound/omap-hdmi-audio.h index afdb416..1df2ff6 100644 --- a/include/sound/omap-hdmi-audio.h +++ b/include/sound/omap-hdmi-audio.h @@ -16,11 +16,16 @@ * */ -#include <video/omapdss.h> - #ifndef __OMAP_HDMI_AUDIO_H__ #define __OMAP_HDMI_AUDIO_H__ +#include <linux/platform_data/omapdss.h> + +struct omap_dss_audio { + struct snd_aes_iec958 *iec; + struct snd_cea_861_aud_if *cea; +}; + struct omap_hdmi_audio_ops { int (*audio_startup)(struct device *dev, void (*abort_cb)(struct device *dev)); diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 53ada70..b25e2ea 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -168,11 +168,6 @@ enum omap_dss_display_state { OMAP_DSS_DISPLAY_ACTIVE, }; -struct omap_dss_audio { - struct snd_aes_iec958 *iec; - struct snd_cea_861_aud_if *cea; -}; - enum omap_dss_rotation_type { OMAP_DSS_ROT_DMA = 1 << 0, OMAP_DSS_ROT_VRFB = 1 << 1, |