Skip to content

Commit

Permalink
ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()
Browse files Browse the repository at this point in the history
This seems overlooked.

Fixes: 98d8fc6 ('ALSA: hda - Move hda_i915.c from sound/pci/hda to sound/hda')
Cc: <[email protected]> # v4.2+
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Sep 2, 2015
1 parent 25adc13 commit 6869de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sound/hda_i915.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6869de3

Please sign in to comment.