Skip to contentSkip to conversation

sound: vmaster.c missing include of hda_local.h

PATCH Applied Harvey Harrison 2 participants 2 messages Feb 29, 2008 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 sound: vmaster.c missing include of hda_local.h

Needed for the two prototypes, must include hda_codec.h as well
due to some dependencies between the headers.
sound/pci/hda/vmaster.c:230:5: warning: symbol 'snd_ctl_add_slave' was not declared. Should it be static? sound/pci/hda/vmaster.c:329:21: warning: symbol 'snd_ctl_make_virtual_master' was not declared. Should it be static?

---
 sound/pci/hda/vmaster.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/pci/hda/vmaster.c +2 -0
index 2da49d2..26149b5 100644
@@ -12,6 +12,8 @@
 #include <linux/slab.h>
 #include <sound/core.h>
 #include <sound/control.h>
+#include "hda_codec.h"
+#include "hda_local.h"
 
 /*
  * a subset of information returned via ctl info callback
Signature · 1 line
1.5.4.3.342.g99e8
#1 lore raw

At Thu, 28 Feb 2008 16:18:11 -0800,

Quoted 7 lines · Harvey Harrison

Needed for the two prototypes, must include hda_codec.h as well
due to some dependencies between the headers.
sound/pci/hda/vmaster.c:230:5: warning: symbol 'snd_ctl_add_slave' was not declared. Should it be static? sound/pci/hda/vmaster.c:329:21: warning: symbol 'snd_ctl_make_virtual_master' was not declared. Should it be static?

This isn't needed any more on the latest ALSA tree.

Takashi