audio.h 383 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7
#ifndef __ASM_ARCH_AUDIO_H__
#define __ASM_ARCH_AUDIO_H__

#include <sound/core.h>
#include <sound/pcm.h>

typedef struct {
T
Takashi Iwai 已提交
8 9
	int (*startup)(struct snd_pcm_substream *, void *);
	void (*shutdown)(struct snd_pcm_substream *, void *);
L
Linus Torvalds 已提交
10 11 12 13 14
	void (*suspend)(void *);
	void (*resume)(void *);
	void *priv;
} pxa2xx_audio_ops_t;

15 16
extern void pxa_set_ac97_info(pxa2xx_audio_ops_t *ops);

L
Linus Torvalds 已提交
17
#endif