lkml.org 
[lkml]   [2008]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 3/3] sound: vmaster.c missing include of hda_local.h
From
Date
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?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
sound/pci/hda/vmaster.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/vmaster.c b/sound/pci/hda/vmaster.c
index 2da49d2..26149b5 100644
--- a/sound/pci/hda/vmaster.c
+++ b/sound/pci/hda/vmaster.c
@@ -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
--
1.5.4.3.342.g99e8


\
 
 \ /
  Last update: 2008-02-29 01:21    [W:1.047 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site