diff options
Diffstat (limited to 'pcidev.c')
-rw-r--r-- | pcidev.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -270,7 +270,7 @@ struct undo_pci_write_data { }; }; -void undo_pci_write(void *p) +int undo_pci_write(void *p) { struct undo_pci_write_data *data = p; msg_pdbg("Restoring PCI config space for %02x:%02x:%01x reg 0x%02x\n", @@ -288,6 +288,7 @@ void undo_pci_write(void *p) } /* p was allocated in register_undo_pci_write. */ free(p); + return 0; } #define register_undo_pci_write(a, b, c) \ |