]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: hda - fix sparse warning
authorHannes Eder <hannes@hanneseder.net>
Fri, 21 Nov 2008 15:03:24 +0000 (16:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Nov 2008 15:05:16 +0000 (16:05 +0100)
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 <hannes@hanneseder.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_nvhdmi.c

index 2eed2c8b98dabc3434ddabfbc2c2db1be63e7e65..1360d54a7d0197090e5fd9498fe2c9fb288e2d2a 100644 (file)
@@ -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;