diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-15 15:43:43 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-15 16:55:27 +0100 |
commit | 3d1ee379bd576c0830050c2d313e77b9f98a8013 (patch) | |
tree | c8c247b94882162d6e8a04c24513522fd8239074 /sound/sound_core.c | |
parent | 8b1fae4e4200388b64dd88065639413cb3f1051c (diff) | |
download | lwn-3d1ee379bd576c0830050c2d313e77b9f98a8013.tar.gz lwn-3d1ee379bd576c0830050c2d313e77b9f98a8013.zip |
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/sound_core.c')
-rw-r--r-- | sound/sound_core.c | 1 |
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 @@ #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); |