The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [-mm patch] fix sound/oss/nm256_audio.c with gcc 4.0
@ 2005-04-08  0:11 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-04-08  0:11 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Rearrange sound/oss/nm256_audio.c and to drop nm256_debug from nm256.h 
since it confuses gcc 4.0 (this problem was my fault).

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 29 Mar 2005

--- linux-2.6.12-rc1-mm3-full/sound/oss/nm256.h.old	2005-03-28 23:49:39.000000000 +0200
+++ linux-2.6.12-rc1-mm3-full/sound/oss/nm256.h	2005-03-28 23:51:33.000000000 +0200
@@ -128,9 +128,6 @@
     struct nm256_info *next_card;
 };
 
-/* Debug flag--bigger numbers mean more output. */
-extern int nm256_debug;
-
 /* The BIOS signature. */
 #define NM_SIGNATURE 0x4e4d0000
 /* Signature mask. */
--- linux-2.6.12-rc1-mm3-full/sound/oss/nm256_audio.c.old	2005-03-28 23:51:53.000000000 +0200
+++ linux-2.6.12-rc1-mm3-full/sound/oss/nm256_audio.c	2005-03-28 23:52:19.000000000 +0200
@@ -28,12 +28,13 @@
 #include <linux/delay.h>
 #include <linux/spinlock.h>
 #include "sound_config.h"
-#include "nm256.h"
-#include "nm256_coeff.h"
 
 static int nm256_debug;
 static int force_load;
 
+#include "nm256.h"
+#include "nm256_coeff.h"
+
 /* 
  * The size of the playback reserve.  When the playback buffer has less
  * than NM256_PLAY_WMARK_SIZE bytes to output, we request a new


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

only message in thread, other threads:[~2005-04-08  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-08  0:11 [-mm patch] fix sound/oss/nm256_audio.c with gcc 4.0 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox