Commit 909444c6 authored by David Brownell's avatar David Brownell Committed by Kevin Hilman

edma: typedef begone!

Finish removing the typedef from the EDMA programming interface.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 7029db6f
...@@ -67,10 +67,6 @@ struct edmacc_param { ...@@ -67,10 +67,6 @@ struct edmacc_param {
unsigned int ccnt; 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 CCINT0_INTERRUPT 16
#define CCERRINT_INTERRUPT 17 #define CCERRINT_INTERRUPT 17
#define TCERRINT0_INTERRUPT 18 #define TCERRINT0_INTERRUPT 18
......
...@@ -192,7 +192,7 @@ static int davinci_pcm_trigger(struct snd_pcm_substream *substream, int cmd) ...@@ -192,7 +192,7 @@ static int davinci_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
static int davinci_pcm_prepare(struct snd_pcm_substream *substream) static int davinci_pcm_prepare(struct snd_pcm_substream *substream)
{ {
struct davinci_runtime_data *prtd = substream->runtime->private_data; struct davinci_runtime_data *prtd = substream->runtime->private_data;
edmacc_paramentry_regs temp; struct edmacc_param temp;
prtd->period = 0; prtd->period = 0;
davinci_pcm_enqueue_dma(substream); davinci_pcm_enqueue_dma(substream);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment