]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/pci/cs46xx/cs46xx.c
ALSA: Convert to new pm_ops for PCI drivers
[mirror_ubuntu-bionic-kernel.git] / sound / pci / cs46xx / cs46xx.c
index 6cc7404e0e8f62991120eb5a86f835017c84cdf3..00e03bc9a762e21356e561bb94b586b9d7dd2648 100644 (file)
@@ -167,8 +167,9 @@ static struct pci_driver cs46xx_driver = {
        .probe = snd_card_cs46xx_probe,
        .remove = __devexit_p(snd_card_cs46xx_remove),
 #ifdef CONFIG_PM
-       .suspend = snd_cs46xx_suspend,
-       .resume = snd_cs46xx_resume,
+       .driver = {
+               .pm = &snd_cs46xx_pm,
+       },
 #endif
 };