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>
This commit is contained in:
parent
f28316f2fd
commit
5fd7447a21
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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));
|
||||
|
@ -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,
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user