diff options
Diffstat (limited to 'pci.c')
-rw-r--r-- | pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ int doom_probe(struct pci_dev *dev, const struct pci_device_id *id) { int err = 0; - ORFAIL(new_doomdev(), error_doomdev); + ORFAIL(new_doomdev(dev), error_doomdev); error_doomdev: return err; @@ -19,7 +19,7 @@ error_doomdev: void doom_remove (struct pci_dev *dev) { - destroy_doomdev(); + destroy_doomdev(dev); } int doom_suspend (struct pci_dev *dev, pm_message_t state) |