Fix the following sparse warning:
sound/pci/hda/patch_nvhdmi.c:161:25: warning: symbol
'snd_hda_preset_nvhdmi' was not declared. Should it be static?
Signed-off-by: Hannes Eder <[email protected]>
---
sound/pci/hda/patch_nvhdmi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/pci/hda/patch_nvhdmi.c b/sound/pci/hda/patch_nvhdmi.c
index 2eed2c8..1360d54 100644
--- a/sound/pci/hda/patch_nvhdmi.c
+++ b/sound/pci/hda/patch_nvhdmi.c
@@ -28,6 +28,7 @@
#include <sound/core.h>
#include "hda_codec.h"
#include "hda_local.h"
+#include "hda_patch.h"
struct nvhdmi_spec {
struct hda_multi_out multiout;
At Fri, 21 Nov 2008 16:03:24 +0100,
Hannes Eder wrote:
>
> Fix the following sparse warning:
>
> sound/pci/hda/patch_nvhdmi.c:161:25: warning: symbol
> 'snd_hda_preset_nvhdmi' was not declared. Should it be static?
>
> Signed-off-by: Hannes Eder <[email protected]>
> ---
> sound/pci/hda/patch_nvhdmi.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied now.
Takashi