omapdss: hdmi audio: Make header file independent of video/omapdss.h
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 30 May 2016 10:26:28 +0000 (13:26 +0300)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 3 Jun 2016 13:06:36 +0000 (16:06 +0300)
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>
drivers/gpu/drm/omapdrm/dss/hdmi.h
drivers/video/fbdev/omap2/omapfb/dss/hdmi.h
include/sound/omap-hdmi-audio.h
include/video/omapdss.h
sound/soc/omap/omap-hdmi-audio.c

index 53616b02b61371b1eb0d6c0c6819cb931cac39a9..c32a21a260549eee85be2b61e1c7296f803a7651 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/platform_device.h>
 #include <linux/hdmi.h>
 #include <video/omapdss.h>
+#include <sound/omap-hdmi-audio.h>
 
 #include "dss.h"
 
index 53616b02b61371b1eb0d6c0c6819cb931cac39a9..c32a21a260549eee85be2b61e1c7296f803a7651 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/platform_device.h>
 #include <linux/hdmi.h>
 #include <video/omapdss.h>
+#include <sound/omap-hdmi-audio.h>
 
 #include "dss.h"
 
index afdb416898e0c19a6ac40578a5f81c5436031c64..1df2ff61a4dd95dda25c5962a6335cc6fb9ca44f 100644 (file)
  *
  */
 
-#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));
index 53ada70cf23c1b0c6b710e64d678214e039fcca3..b25e2eab4b48b180a7358a1dd0bab16b8d90896d 100644 (file)
@@ -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,
index 64425d352962f889989ad59d73a71f18cfae53e2..888133f9e65d0188def0b7cb374621d940a0b1b8 100644 (file)
@@ -28,7 +28,6 @@
 #include <sound/asoundef.h>
 #include <sound/omap-pcm.h>
 #include <sound/omap-hdmi-audio.h>
-#include <video/omapdss.h>
 
 #define DRV_NAME "omap-hdmi-audio"