From: Hannes Eder Date: Fri, 21 Nov 2008 15:03:24 +0000 (+0100) Subject: ALSA: hda - fix sparse warning X-Git-Tag: v2.6.29-rc1~590^2~6^2~59 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=42e81c991a71909929f8d0cdcdf8ced68799388a;p=linux-2.6-omap-h63xx.git ALSA: hda - fix sparse warning 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_nvhdmi.c b/sound/pci/hda/patch_nvhdmi.c index 2eed2c8b98d..1360d54a7d0 100644 --- a/sound/pci/hda/patch_nvhdmi.c +++ b/sound/pci/hda/patch_nvhdmi.c @@ -28,6 +28,7 @@ #include #include "hda_codec.h" #include "hda_local.h" +#include "hda_patch.h" struct nvhdmi_spec { struct hda_multi_out multiout;