]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Define dummy snd_pcm_suspend() for CONFIG_PM=n
authorTakashi Iwai <tiwai@suse.de>
Sun, 5 Feb 2017 07:58:46 +0000 (08:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 5 Feb 2017 07:58:46 +0000 (08:58 +0100)
commit4c3a8f804b5a0a479785befcc33eeec940c1026a
tree75938e8223376d08d30ec271f125d59892272480
parent1776f3139c0115283224219317db415caa804146
ALSA: pcm: Define dummy snd_pcm_suspend() for CONFIG_PM=n

... so that the driver can avoid ifdef's for the dead PM callbacks.
The compiler should optimize them out in anyway.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h