Skip to content

Commit

Permalink
[ALSA] AMD Au1x00: make driver build after cleanup
Browse files Browse the repository at this point in the history
Modules: MIPS AU1x00 driver

AMD Au1x00 ALSA driver doesn't build after the recent code cleanup:

sound/mips/au1x00.c: In function 'au1000_setup_dma_link':
sound/mips/au1x00.c:173: error: 'pointer' undeclared (first use in this function)
sound/mips/au1x00.c:173: error: (Each undeclared identifier is reported only once
sound/mips/au1x00.c:173: error: for each function it appears in.)
sound/mips/au1x00.c: In function 'snd_au1000_hw_params':
sound/mips/au1x00.c:339: warning: implicit declaration of function 'snd_mask_min'

Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Sergei Shtylylov authored and Jaroslav Kysela committed Mar 22, 2006
1 parent 6682025 commit d8327c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/mips/au1x00.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/ac97_codec.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1000_dma.h>
Expand Down Expand Up @@ -153,6 +154,7 @@ au1000_setup_dma_link(struct audio_stream *stream, unsigned int period_bytes,
{
struct snd_pcm_substream *substream = stream->substream;
struct snd_pcm_runtime *runtime = substream->runtime;
struct au1000_period *pointer;
unsigned long dma_start;
int i;

Expand Down

0 comments on commit d8327c7

Please sign in to comment.