Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_ARCH_AUDIO_H__ |
| 2 | #define __ASM_ARCH_AUDIO_H__ |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include <sound/core.h> |
| 5 | #include <sound/pcm.h> |
| 6 | |
| 7 | typedef struct { |
Takashi Iwai | f7cbb7f | 2006-01-13 18:48:06 +0100 | [diff] [blame] | 8 | int (*startup)(struct snd_pcm_substream *, void *); |
| 9 | void (*shutdown)(struct snd_pcm_substream *, void *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | void (*suspend)(void *); |
| 11 | void (*resume)(void *); |
| 12 | void *priv; |
| 13 | } pxa2xx_audio_ops_t; |
| 14 | |
Mark Brown | 9f19d63 | 2008-06-10 12:30:05 +0100 | [diff] [blame^] | 15 | extern void pxa_set_ac97_info(pxa2xx_audio_ops_t *ops); |
| 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #endif |