mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] sound/oss/awe_wave.c: fix a compile warning
@ 2005-03-03 20:54 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-03-03 20:54 UTC (permalink / raw)
  To: linux-kernel

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
  *----------------------------------------------------------------*/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-03 21:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-03 20:54 [2.6 patch] sound/oss/awe_wave.c: fix a compile warning Adrian Bunk

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®