From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
To: alsa-devel@lists.sourceforge.net
Subject: [PATCH] AMD Au1x00: make driver build after cleanup
Date: Mon, 20 Mar 2006 21:26:56 +0300 [thread overview]
Message-ID: <441EF3F0.9080105@ru.mvista.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
Hello.
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'
WBR, Sergei
[-- Attachment #2: Au1x00-make-ALSA-driver-build-after-cleanup.patch --]
[-- Type: text/plain, Size: 624 bytes --]
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index 6d8f8b3..9517686 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -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>
@@ -153,6 +154,7 @@ au1000_setup_dma_link(struct audio_strea
{
struct snd_pcm_substream *substream = stream->substream;
struct snd_pcm_runtime *runtime = substream->runtime;
+ struct au1000_period *pointer;
unsigned long dma_start;
int i;
next reply other threads:[~2006-03-20 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-20 18:26 Sergei Shtylylov [this message]
2006-03-20 18:38 ` [PATCH] AMD Au1x00: make driver build after cleanup Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=441EF3F0.9080105@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.