ALSA: hda - Fix possible compile warnings regarding CONFIG_PM
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Aug 2012 16:10:09 +0000 (18:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Aug 2012 16:11:51 +0000 (18:11 +0200)
commit7ccbde57ce312ff1388c2990699f8863280808ac
tree477c035659ce549d928bd468c7c54747a82ea743
parent6152597971db4055b7b03ccc60afcd62214d41f4
ALSA: hda - Fix possible compile warnings regarding CONFIG_PM

Replace with a proper ifdef check of CONFIG_PM_SLEEP in hda_intel.c.
But other places in HD-audio driver are still marked with CONFIG_PM,
since these can be called for power-saving even without
CONFIG_PM_SLEEP.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c