Changeset 454
- Timestamp:
- Jun 25, 2009, 11:35:53 AM (16 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/include/linux/pci.h
r441 r454 661 661 void pci_disable_device(struct pci_dev *dev); 662 662 663 voidpci_save_state(struct pci_dev *dev);663 int pci_save_state(struct pci_dev *dev); 664 664 int pci_restore_state(struct pci_dev *dev); 665 665 -
GPL/trunk/lib32/pci.c
r453 r454 747 747 static struct saved_config_tbl saved_tbl[16]; 748 748 749 voidpci_save_state(struct pci_dev *pci)749 int pci_save_state(struct pci_dev *pci) 750 750 { 751 751 int i; … … 755 755 saved_tbl[i].pci = pci; 756 756 pci_orig_save_state(pci, saved_tbl[i].config); 757 return ;757 return 1; 758 758 } 759 759 } 760 760 printk(KERN_DEBUG "snd: no pci config space found!\n"); 761 return 0; 761 762 } 762 763
Note:
See TracChangeset
for help on using the changeset viewer.