Ignore:
Timestamp:
Apr 21, 2025, 7:17:25 PM (4 months ago)
Author:
David Azarewicz
Message:

Merge from uniaud32-exp branch

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/pci/als4000.c

    r717 r777  
    940940}
    941941
    942 #ifdef CONFIG_PM_SLEEP
    943942static int snd_als4000_suspend(struct device *dev)
    944943{
     
    972971}
    973972
    974 static SIMPLE_DEV_PM_OPS(snd_als4000_pm, snd_als4000_suspend, snd_als4000_resume);
    975 #define SND_ALS4000_PM_OPS      &snd_als4000_pm
    976 #else
    977 #define SND_ALS4000_PM_OPS      NULL
    978 #endif /* CONFIG_PM_SLEEP */
     973static DEFINE_SIMPLE_DEV_PM_OPS(snd_als4000_pm, snd_als4000_suspend, snd_als4000_resume);
    979974
    980975static struct pci_driver als4000_driver = {
     
    983978        .probe = snd_card_als4000_probe,
    984979        .driver = {
    985                 .pm = SND_ALS4000_PM_OPS,
     980                .pm = &snd_als4000_pm,
    986981        },
    987982};
Note: See TracChangeset for help on using the changeset viewer.