aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm/aaci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/arm/aaci.c')
-rw-r--r--sound/arm/aaci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index 5190d7acdb9f..b9eca9f3dd25 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -726,8 +726,8 @@ static struct snd_pcm_ops aaci_playback_ops = {
726 .mmap = aaci_pcm_mmap, 726 .mmap = aaci_pcm_mmap,
727}; 727};
728 728
729static int aaci_pcm_capture_hw_params(snd_pcm_substream_t *substream, 729static int aaci_pcm_capture_hw_params(struct snd_pcm_substream *substream,
730 snd_pcm_hw_params_t *params) 730 struct snd_pcm_hw_params *params)
731{ 731{
732 struct aaci *aaci = substream->private_data; 732 struct aaci *aaci = substream->private_data;
733 struct aaci_runtime *aacirun = substream->runtime->private_data; 733 struct aaci_runtime *aacirun = substream->runtime->private_data;
@@ -783,8 +783,8 @@ static void aaci_pcm_capture_start(struct aaci_runtime *aacirun)
783 writel(ie, aacirun->base + AACI_IE); 783 writel(ie, aacirun->base + AACI_IE);
784} 784}
785 785
786static int aaci_pcm_capture_trigger(snd_pcm_substream_t *substream, int cmd){ 786static int aaci_pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd)
787 787{
788 struct aaci *aaci = substream->private_data; 788 struct aaci *aaci = substream->private_data;
789 struct aaci_runtime *aacirun = substream->runtime->private_data; 789 struct aaci_runtime *aacirun = substream->runtime->private_data;
790 unsigned long flags; 790 unsigned long flags;
@@ -824,7 +824,7 @@ static int aaci_pcm_capture_trigger(snd_pcm_substream_t *substream, int cmd){
824 return ret; 824 return ret;
825} 825}
826 826
827static int aaci_pcm_capture_prepare(snd_pcm_substream_t *substream) 827static int aaci_pcm_capture_prepare(struct snd_pcm_substream *substream)
828{ 828{
829 struct snd_pcm_runtime *runtime = substream->runtime; 829 struct snd_pcm_runtime *runtime = substream->runtime;
830 struct aaci *aaci = substream->private_data; 830 struct aaci *aaci = substream->private_data;
@@ -842,7 +842,7 @@ static int aaci_pcm_capture_prepare(snd_pcm_substream_t *substream)
842 return 0; 842 return 0;
843} 843}
844 844
845static snd_pcm_ops_t aaci_capture_ops = { 845static struct snd_pcm_ops aaci_capture_ops = {
846 .open = aaci_pcm_open, 846 .open = aaci_pcm_open,
847 .close = aaci_pcm_close, 847 .close = aaci_pcm_close,
848 .ioctl = snd_pcm_lib_ioctl, 848 .ioctl = snd_pcm_lib_ioctl,