![Takashi Iwai](/assets/img/avatar_default.png)
This header file exists only for some hacks to adapt alsa-driver tree. It's useless for building in the kernel. Let's move a few lines in it to sound/core.h and remove it. With this patch, sound/driver.h isn't removed but has just a single compile warning to include it. This should be really killed in future. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 lines
326 B
C
16 lines
326 B
C
#ifndef __ASM_ARCH_AUDIO_H__
|
|
#define __ASM_ARCH_AUDIO_H__
|
|
|
|
#include <sound/core.h>
|
|
#include <sound/pcm.h>
|
|
|
|
typedef struct {
|
|
int (*startup)(struct snd_pcm_substream *, void *);
|
|
void (*shutdown)(struct snd_pcm_substream *, void *);
|
|
void (*suspend)(void *);
|
|
void (*resume)(void *);
|
|
void *priv;
|
|
} pxa2xx_audio_ops_t;
|
|
|
|
#endif
|