From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] sound/oss/awe_wave.c: fix a compile warning
Date: Thu, 3 Mar 2005 21:54:15 +0100 [thread overview]
Message-ID: <20050303205415.GJ4608@stusta.de> (raw)
This patch fixes the following compile warning:
<-- snip -->
...
CC sound/oss/awe_wave.o
In file included from sound/oss/os.h:31,
from sound/oss/sound_config.h:21,
from sound/oss/awe_wave.c:37:
include/linux/soundcard.h:195:1: warning: "_PATCHKEY" redefined
In file included from sound/oss/awe_wave.c:30:
include/linux/awe_voice.h:33:1: warning: this is the location of the previous definition
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc5-mm1-full/include/linux/awe_voice.h.old 2005-03-03 16:14:35.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/include/linux/awe_voice.h 2005-03-03 16:15:12.000000000 +0100
@@ -29,10 +29,6 @@
#define SAMPLE_TYPE_AWE32 0x20
#endif
-#ifndef _PATCHKEY
-#define _PATCHKEY(id) ((id<<8)|0xfd)
-#endif
-
/*----------------------------------------------------------------
* patch information record
*----------------------------------------------------------------*/
reply other threads:[~2005-03-03 21:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050303205415.GJ4608@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®