Changeset 454 for GPL/trunk/lib32/pci.c


Ignore:
Timestamp:
Jun 25, 2009, 11:35:53 AM (16 years ago)
Author:
Paul Smedley
Message:

Change pci_save_state from type void to type int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/lib32/pci.c

    r453 r454  
    747747static struct saved_config_tbl saved_tbl[16];
    748748
    749 void pci_save_state(struct pci_dev *pci)
     749int pci_save_state(struct pci_dev *pci)
    750750{
    751751    int i;
     
    755755            saved_tbl[i].pci = pci;
    756756            pci_orig_save_state(pci, saved_tbl[i].config);
    757             return;
     757            return 1;
    758758        }
    759759    }
    760760    printk(KERN_DEBUG "snd: no pci config space found!\n");
     761    return 0;
    761762}
    762763
Note: See TracChangeset for help on using the changeset viewer.