Skip to content

Commit

Permalink
omapdss: hdmi audio: Make header file independent of video/omapdss.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
CC: Mark Brown <[email protected]>
CC: Jyri Sarha <[email protected]>
CC: Liam Girdwood <[email protected]>
  • Loading branch information
Peter Ujfalusi committed Jun 3, 2016
1 parent f28316f commit 5fd7447
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/omapdrm/dss/hdmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions drivers/video/fbdev/omap2/omapfb/dss/hdmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
9 changes: 7 additions & 2 deletions include/sound/omap-hdmi-audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
5 changes: 0 additions & 5 deletions include/video/omapdss.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/omap/omap-hdmi-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 5fd7447

Please sign in to comment.