Changeset 777 for GPL/trunk/alsa-kernel/pci/fm801.c
- Timestamp:
- Apr 21, 2025, 7:17:25 PM (4 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-exp merged: 766-767,770-771,773-774
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/pci/fm801.c
r772 r777 231 231 #endif 232 232 233 #ifdef CONFIG_PM_SLEEP234 233 u16 saved_regs[0x20]; 235 #endif236 234 }; 237 235 … … 1352 1350 } 1353 1351 1354 #ifdef CONFIG_PM_SLEEP1355 1352 static const unsigned char saved_regs[] = { 1356 1353 FM801_PCM_VOL, FM801_I2S_VOL, FM801_FM_VOL, FM801_REC_SRC, … … 1409 1406 } 1410 1407 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 */ 1408 static DEFINE_SIMPLE_DEV_PM_OPS(snd_fm801_pm, snd_fm801_suspend, snd_fm801_resume); 1416 1409 1417 1410 static struct pci_driver fm801_driver = { … … 1420 1413 .probe = snd_card_fm801_probe, 1421 1414 .driver = { 1422 .pm = SND_FM801_PM_OPS,1415 .pm = &snd_fm801_pm, 1423 1416 }, 1424 1417 };
Note:
See TracChangeset
for help on using the changeset viewer.