Skip to content

Commit

Permalink
ALSA: Fix declaration of sound_class
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
broonie authored and tiwai committed Dec 15, 2008
1 parent 8b1fae4 commit 3d1ee37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/sound_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3d1ee37

Please sign in to comment.