projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3a72d
)
[ALSA] fix compiler warning
author
Henrik Kretzschmar
<henne@nachtwindheim.de>
Fri, 8 Jul 2005 07:29:18 +0000
(09:29 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 28 Jul 2005 10:22:05 +0000
(12:22 +0200)
GUS Library
This patch fixes a compiler warning if sequencer is disabled.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/isa/gus/gus_main.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/isa/gus/gus_main.c
b/sound/isa/gus/gus_main.c
index 94bbd344be5e31f97b5af4aa72f4e1e38f4eaa05..a636d9ce3502ecf36bdab0291acdaeb0cd4fd514 100644
(file)
--- a/
sound/isa/gus/gus_main.c
+++ b/
sound/isa/gus/gus_main.c
@@
-417,11
+417,13
@@
static int snd_gus_check_version(snd_gus_card_t * gus)
return 0;
}
+#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
static void snd_gus_seq_dev_free(snd_seq_device_t *seq_dev)
{
snd_gus_card_t *gus = seq_dev->private_data;
gus->seq_dev = NULL;
}
+#endif
int snd_gus_initialize(snd_gus_card_t *gus)
{