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

    r772 r777  
    530530}
    531531
    532 #ifdef CONFIG_PM_SLEEP
    533532static int snd_atiixp_aclink_down(struct atiixp *chip)
    534533{
     
    540539        return 0;
    541540}
    542 #endif
    543541
    544542/*
     
    14641462
    14651463
    1466 #ifdef CONFIG_PM_SLEEP
    14671464/*
    14681465 * power management
     
    15091506}
    15101507
    1511 static SIMPLE_DEV_PM_OPS(snd_atiixp_pm, snd_atiixp_suspend, snd_atiixp_resume);
    1512 #define SND_ATIIXP_PM_OPS       &snd_atiixp_pm
    1513 #else
    1514 #define SND_ATIIXP_PM_OPS       NULL
    1515 #endif /* CONFIG_PM_SLEEP */
    1516 
     1508static DEFINE_SIMPLE_DEV_PM_OPS(snd_atiixp_pm, snd_atiixp_suspend, snd_atiixp_resume);
    15171509
    15181510/*
     
    16471639        .probe = snd_atiixp_probe,
    16481640        .driver = {
    1649                 .pm = SND_ATIIXP_PM_OPS,
     1641                .pm = &snd_atiixp_pm,
    16501642        },
    16511643};
Note: See TracChangeset for help on using the changeset viewer.