Răsfoiți Sursa

ALSA: hda - Add missing static for snd_hda_eld_proc_new() inline funciton

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 16 ani în urmă
părinte
comite
0623536ca3
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      sound/pci/hda/hda_local.h

+ 2 - 1
sound/pci/hda/hda_local.h

@@ -490,7 +490,8 @@ void snd_hdmi_show_eld(struct hdmi_eld *eld);
 #ifdef CONFIG_PROC_FS
 int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld);
 #else
-inline int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld)
+static inline int snd_hda_eld_proc_new(struct hda_codec *codec,
+				       struct hdmi_eld *eld)
 {
 	return 0;
 }