소스 검색

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 <hannes@hanneseder.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Hannes Eder 17 년 전
부모
커밋
42e81c991a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      sound/pci/hda/patch_nvhdmi.c

+ 1 - 0
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;