From: David Brownell <[email protected]> Finish removing the typedef from the EDMA programming interface.
Signed-off-by: David Brownell <[email protected]> --- arch/arm/mach-davinci/include/mach/edma.h | 4 ---- sound/soc/davinci/davinci-pcm.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) --- a/arch/arm/mach-davinci/include/mach/edma.h +++ b/arch/arm/mach-davinci/include/mach/edma.h @@ -67,10 +67,6 @@ struct edmacc_param { unsigned int ccnt; }; -/* don't use this typedef any more; it will be removed */ -typedef struct edmacc_param edmacc_paramentry_regs; - - #define CCINT0_INTERRUPT 16 #define CCERRINT_INTERRUPT 17 #define TCERRINT0_INTERRUPT 18 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c @@ -192,7 +192,7 @@ static int davinci_pcm_trigger(struct sn static int davinci_pcm_prepare(struct snd_pcm_substream *substream) { struct davinci_runtime_data *prtd = substream->runtime->private_data; - edmacc_paramentry_regs temp; + struct edmacc_param temp; prtd->period = 0; davinci_pcm_enqueue_dma(substream); _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
