aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-09-02 12:24:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 19:33:21 +0200
commit8336cb49ac4665770bd5d489b7c1ce694db2fe25 (patch)
tree83b5b499192db03ccc2f4dce7c631691f2de33f8 /include
parentca60b2e7e710abd7eac45b868f2563531e6b17f0 (diff)
ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()
commit 6869de380e8c11c31b608bb2502dcacd634eda13 upstream. This seems overlooked. Fixes: 98d8fc6c5d36 ('ALSA: hda - Move hda_i915.c from sound/pci/hda to sound/hda') Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-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 adb5ba5cbd9d..ff99140831ba 100644
--- a/include/sound/hda_i915.h
+++ b/include/sound/hda_i915.h
@@ -11,7 +11,7 @@ int snd_hdac_get_display_clk(struct hdac_bus *bus);
int snd_hdac_i915_init(struct hdac_bus *bus);
int snd_hdac_i915_exit(struct hdac_bus *bus);
#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;
}