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)
commit1cf05ba2cafa079a943c2cbae51b2f2c2e247466
tree75938e8223376d08d30ec271f125d59892272480
parentb556290f9a8386ff6afeec12cae29fbab77321a3
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