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

    r772 r777  
    231231#endif
    232232
    233 #ifdef CONFIG_PM_SLEEP
    234233        u16 saved_regs[0x20];
    235 #endif
    236234};
    237235
     
    13521350}
    13531351
    1354 #ifdef CONFIG_PM_SLEEP
    13551352static const unsigned char saved_regs[] = {
    13561353        FM801_PCM_VOL, FM801_I2S_VOL, FM801_FM_VOL, FM801_REC_SRC,
     
    14091406}
    14101407
    1411 static SIMPLE_DEV_PM_OPS(snd_fm801_pm, snd_fm801_suspend, snd_fm801_resume);
    1412 #define SND_FM801_PM_OPS        &snd_fm801_pm
    1413 #else
    1414 #define SND_FM801_PM_OPS        NULL
    1415 #endif /* CONFIG_PM_SLEEP */
     1408static DEFINE_SIMPLE_DEV_PM_OPS(snd_fm801_pm, snd_fm801_suspend, snd_fm801_resume);
    14161409
    14171410static struct pci_driver fm801_driver = {
     
    14201413        .probe = snd_card_fm801_probe,
    14211414        .driver = {
    1422                 .pm = SND_FM801_PM_OPS,
     1415                .pm = &snd_fm801_pm,
    14231416        },
    14241417};
Note: See TracChangeset for help on using the changeset viewer.