diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-07 14:38:51 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-07 15:05:50 +0100 |
commit | 1df989242d3d790aec79e72d12874bf763c958e1 (patch) | |
tree | 307b40c65f8eaccd8f01ce555743d3c5b8790c92 /sound/x86/Kconfig | |
parent | 873ab035752e62a90eaeb1daf88a44dad1da6ea0 (diff) | |
download | linux-1df989242d3d790aec79e72d12874bf763c958e1.tar.bz2 |
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: 182cdf23dbf6 ("ALSA: x86: Implement runtime PM")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions