ALSA: Fix declaration of sound_class
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Dec 2008 15:43:43 +0000 (15:43 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Dec 2008 15:55:27 +0000 (16:55 +0100)
Include sound/core.h in sound_core.c so that sound_class is declared
before it is defined, avoiding it looking like it should be static.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sound_core.c

index 10ba4218161b04936892bd72e6ca15688f2e36ef..2b302bbffe7361c6faccc1eb84099f2e1c5b1baf 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/module.h>
 #include <linux/device.h>
 #include <linux/err.h>
+#include <sound/core.h>
 
 #ifdef CONFIG_SOUND_OSS_CORE
 static int __init init_oss_soundcore(void);
This page took 0.072914 seconds and 5 git commands to generate.