X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=sound%2Farm%2Fomap-aic23.h;h=c471d6cd6bbbc866222c03de6e2593a68f5b6428;hb=419edf1b405c92d485c1a90c9e12c63bb4f82280;hp=c8ab42c29354c00b9e364c5c24abe5eaed9aa0f6;hpb=51c0cddf5027bd4e5c1903845047d7d7e266c79b;p=linux-2.6-omap-h63xx.git diff --git a/sound/arm/omap-aic23.h b/sound/arm/omap-aic23.h index c8ab42c2935..c471d6cd6bb 100644 --- a/sound/arm/omap-aic23.h +++ b/sound/arm/omap-aic23.h @@ -93,17 +93,15 @@ struct audio_stream { /* * Alsa card structure for aic23 */ -struct snd_card_omap_aic23 { +struct snd_card_omap_codec { snd_card_t *card; snd_pcm_t *pcm; long samplerate; struct audio_stream s[2]; /* playback & capture */ }; -/*********** Function Prototypes *************************/ - -void audio_dma_callback(void *); -int snd_omap_mixer(struct snd_card_omap_aic23 *); +/*********** Mixer function prototypes *************************/ +int snd_omap_mixer(struct snd_card_omap_codec *); void snd_omap_init_mixer(void); /* Clock functions */ int omap_aic23_clock_on(void); @@ -114,6 +112,9 @@ void snd_omap_suspend_mixer(void); void snd_omap_resume_mixer(void); #endif +/*********** function prototype to function called from the dma interrupt handler ******/ +void callback_omap_alsa_sound_dma(void *); + /* Codec AIC23 */ #if defined(CONFIG_SENSORS_TLV320AIC23) || defined (CONFIG_SENSORS_TLV320AIC23_MODULE)