ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()
authorTakashi Iwai <tiwai@suse.de>
Wed, 2 Sep 2015 10:24:55 +0000 (12:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 Sep 2015 10:24:55 +0000 (12:24 +0200)
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>
include/sound/hda_i915.h

index a5b5cae03e87f5e97fcc61b7d21946916ee5b196..930b41e5acf4cb9a9008cfc7394dad61d87895a9 100644 (file)
@@ -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;
 }