aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai2015-09-02 12:24:55 +0200
committerTakashi Iwai2015-09-02 12:24:55 +0200
commit6869de380e8c11c31b608bb2502dcacd634eda13 (patch)
tree78b6099db7946ac6264a0b128a6033eb4f346ad2
parent25adc137c546ce297b4d76820913dda11cad3891 (diff)
ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()
This seems overlooked. Fixes: 98d8fc6c5d36 ('ALSA: hda - Move hda_i915.c from sound/pci/hda to sound/hda') Cc: <stable@vger.kernel.org> # v4.2+ Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/hda_i915.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/hda_i915.h b/include/sound/hda_i915.h
index a5b5cae03e87..930b41e5acf4 100644
--- a/include/sound/hda_i915.h
+++ b/include/sound/hda_i915.h
@@ -14,7 +14,7 @@ int snd_hdac_i915_init(struct hdac_bus *bus);
int snd_hdac_i915_exit(struct hdac_bus *bus);
int snd_hdac_i915_register_notifier(const struct i915_audio_component_audio_ops *);
#else
-static int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable)
+static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable)
{
return 0;
}