blob: f82f96dd1053c6b6b513a1fdb5bd1955dc495f1d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ASM_ARCH_AUDIO_H__
2#define __ASM_ARCH_AUDIO_H__
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#include <sound/core.h>
5#include <sound/pcm.h>
6
7typedef struct {
Takashi Iwaif7cbb7f2006-01-13 18:48:06 +01008 int (*startup)(struct snd_pcm_substream *, void *);
9 void (*shutdown)(struct snd_pcm_substream *, void *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 void (*suspend)(void *);
11 void (*resume)(void *);
12 void *priv;
13} pxa2xx_audio_ops_t;
14
Mark Brown9f19d632008-06-10 12:30:05 +010015extern void pxa_set_ac97_info(pxa2xx_audio_ops_t *ops);
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#endif