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/cs4281.c

    r772 r777  
    474474        struct gameport *gameport;
    475475
    476 #ifdef CONFIG_PM_SLEEP
    477476        u32 suspend_regs[SUSPEND_REGISTERS];
    478 #endif
    479 
    480477};
    481478
     
    19001897 * Power Management
    19011898 */
    1902 #ifdef CONFIG_PM_SLEEP
    1903 
    19041899static const int saved_regs[SUSPEND_REGISTERS] = {
    19051900        BA0_JSCTL,
     
    19901985}
    19911986
    1992 static SIMPLE_DEV_PM_OPS(cs4281_pm, cs4281_suspend, cs4281_resume);
    1993 #define CS4281_PM_OPS   &cs4281_pm
    1994 #else
    1995 #define CS4281_PM_OPS   NULL
    1996 #endif /* CONFIG_PM_SLEEP */
     1987static DEFINE_SIMPLE_DEV_PM_OPS(cs4281_pm, cs4281_suspend, cs4281_resume);
    19971988
    19981989static struct pci_driver cs4281_driver = {
     
    20011992        .probe = snd_cs4281_probe,
    20021993        .driver = {
    2003                 .pm = CS4281_PM_OPS,
     1994                .pm = &cs4281_pm,
    20041995        },
    20051996};
Note: See TracChangeset for help on using the changeset viewer.