snd-powermac: style pmac.c
PATCH 1/1 snd-powermac: style pmac.c
From: Risto Suominen <[email protected]>
Coding style corrections for pmac.c.
Signed-off-by Risto Suominen <[email protected]>
---
Kernel version 2.6.25-rc8 (probably any 2.6)
ppc/pmac.c renamed from ppc/pmac.c.orig +2 -2
@@ -214,7 +214,7 @@ static int snd_pmac_pcm_prepare(struct sint rate_index;long offset;struct pmac_stream *astr; - + rec->dma_size =snd_pcm_lib_buffer_bytes (subs); rec->period_size =snd_pcm_lib_period_bytes (subs); rec->nperiods = rec->dma_size / rec->period_size;
@@ -643,7 +643,7 @@ static int snd_pmac_pcm_close(struct snd/* reset constraints */ astr->cur_freqs = chip->freqs_ok; astr->cur_formats = chip->formats_ok; - +return 0 ; }