From: Dave Jones Date: Sat, 25 Jun 2005 21:58:53 +0000 (-0700) Subject: [PATCH] nm256 oss build failure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f00945a8e35e46b98f3ec4adae747397393e3ee;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] nm256 oss build failure static declaration follows non static Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/sound/oss/nm256.h b/sound/oss/nm256.h index 762331765328..21e07b5081f2 100644 --- a/sound/oss/nm256.h +++ b/sound/oss/nm256.h @@ -128,9 +128,6 @@ struct nm256_info 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. */ diff --git a/sound/oss/nm256_audio.c b/sound/oss/nm256_audio.c index f1a7ba6ae340..66970062eb36 100644 --- a/sound/oss/nm256_audio.c +++ b/sound/oss/nm256_audio.c @@ -28,12 +28,13 @@ #include #include #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