linux/sound/x86
Arnd Bergmann 1df989242d ALSA: x86: mark hdmi suspend/resume functions as __maybe_unused
The two functions are unused when CONFIG_PM_SLEEP is disabled:

sound/x86/intel_hdmi_audio.c:1633:12: error: 'hdmi_lpe_audio_resume' defined but not used [-Werror=unused-function]
sound/x86/intel_hdmi_audio.c:1622:12: error: 'hdmi_lpe_audio_suspend' defined but not used [-Werror=unused-function]

Marking them as __maybe_unused avoids the warning without introducing an
ugly #ifdef.

Fixes: 182cdf23db ("ALSA: x86: Implement runtime PM")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-02-07 15:05:50 +01:00
..
intel_hdmi_audio.c ALSA: x86: mark hdmi suspend/resume functions as __maybe_unused 2017-02-07 15:05:50 +01:00
intel_hdmi_audio.h ALSA: x86: Refactor PCM process engine 2017-02-06 12:21:10 +01:00
intel_hdmi_lpe_audio.h ALSA: x86: Fix driver name string overflow 2017-02-07 12:33:20 +01:00
Kconfig ALSA: add Intel HDMI LPE audio driver for BYT/CHT-T 2017-01-25 14:23:46 +01:00
Makefile ALSA: x86: Fold intel_hdmi_audio_if.c into main file 2017-02-03 17:31:54 +01:00