diff options
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/slicoss/slicoss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index c129e83e2f4..b61ac4b2db9 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -520,6 +520,7 @@ err_out_free_mmio_region: release_mem_region(mmio_start, mmio_len); err_out_exit_slic_probe: + pci_release_regions(pcidev); DBG_ERROR("%s EXIT jiffies[%lx] cpu %d\n", __func__, jiffies, smp_processor_id()); @@ -649,6 +650,7 @@ static void __devexit slic_entry_remove(struct pci_dev *pcidev) } DBG_MSG("slicoss: %s deallocate device\n", __func__); kfree(dev); + pci_release_regions(pcidev); DBG_MSG("slicoss: %s EXIT\n", __func__); } |