Ignore:
Timestamp:
Apr 12, 2025, 4:08:07 AM (7 months ago)
Author:
Paul Smedley
Message:

Apply linux 6.12.21 code changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-exp/alsa-kernel/pci/cs4281.c

    r744 r766  
    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.