summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-11-21 08:54:54 +0100
committerTakashi Iwai <tiwai@suse.de>2008-11-21 08:54:54 +0100
commit0623536ca3e8fd7cb8b7468b0fd4d61d80f0b6ea (patch)
tree181483aecbca035506a9fc56e8f8ef25dea93e89
parentALSA: hda - support writing to the ELD proc file (diff)
downloadlinux-0623536ca3e8fd7cb8b7468b0fd4d61d80f0b6ea.tar.xz
linux-0623536ca3e8fd7cb8b7468b0fd4d61d80f0b6ea.zip
ALSA: hda - Add missing static for snd_hda_eld_proc_new() inline funciton
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/hda_local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index a2d01a9a0b16..c71505a4f99d 100644
--- a/sound/pci/hda/hda_local.h
+++ b/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;
}