ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP
Otherwise we may get compile warnings due to unused functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -355,7 +355,7 @@ static struct pci_driver ymfpci_driver = {
|
||||
.id_table = snd_ymfpci_ids,
|
||||
.probe = snd_card_ymfpci_probe,
|
||||
.remove = __devexit_p(snd_card_ymfpci_remove),
|
||||
#ifdef CONFIG_PM
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
.driver = {
|
||||
.pm = &snd_ymfpci_pm,
|
||||
},
|
||||
|
Reference in New Issue
Block a user