fix sound/oss/nm256_audio.c with gcc 4.0
PATCH 1/1 fix sound/oss/nm256_audio.c with gcc 4.0
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 <[email protected]>
---
This patch was already sent on:
- 29 Mar 2005
sound/oss/nm256.h renamed from sound/oss/nm256.h.old +0 -3
@@ -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. */
sound/oss/nm256_audio.c renamed from sound/oss/nm256_audio.c.old +3 -2
@@ -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