]> 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)
commit097af781918f9a1bcaa7074ab275865ed3550fb9
tree75938e8223376d08d30ec271f125d59892272480
parentacce36894c35594086b07fff68245a9a3a1a4ee7
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