aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-15 10:43:43 -0500
committerTakashi Iwai <tiwai@suse.de>2008-12-15 10:55:27 -0500
commit3d1ee379bd576c0830050c2d313e77b9f98a8013 (patch)
treec8c247b94882162d6e8a04c24513522fd8239074 /sound
parent8b1fae4e4200388b64dd88065639413cb3f1051c (diff)
ALSA: Fix declaration of sound_class
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/sound_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/sound_core.c b/sound/sound_core.c
index 10ba4218161b..2b302bbffe73 100644
--- a/sound/sound_core.c
+++ b/sound/sound_core.c
@@ -10,6 +10,7 @@
10#include <linux/module.h> 10#include <linux/module.h>
11#include <linux/device.h> 11#include <linux/device.h>
12#include <linux/err.h> 12#include <linux/err.h>
13#include <sound/core.h>
13 14
14#ifdef CONFIG_SOUND_OSS_CORE 15#ifdef CONFIG_SOUND_OSS_CORE
15static int __init init_oss_soundcore(void); 16static int __init init_oss_soundcore(void);