mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
staging/slicoss: disable pci device at remove
at probe we enabled the device, and we should disable it at remove. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d44858a9b4
commit
d99b5ac65e
@ -3234,6 +3234,7 @@ static void __devexit slic_entry_remove(struct pci_dev *pcidev)
|
||||
}
|
||||
free_netdev(dev);
|
||||
pci_release_regions(pcidev);
|
||||
pci_disable_device(pcidev);
|
||||
}
|
||||
|
||||
static int slic_entry_halt(struct net_device *dev)
|
||||
|
Loading…
x
Reference in New Issue
Block a user