Commit 2ab08734 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Jeff Garzik

[PATCH] rtl8139too.c: Fix missing pci_disable_dev

Simple fix to make pci_enable/disable symetric and avoid the warning on
module unload.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 702e4ff4
...@@ -746,7 +746,7 @@ static void __rtl8139_cleanup_dev (struct net_device *dev) ...@@ -746,7 +746,7 @@ static void __rtl8139_cleanup_dev (struct net_device *dev)
pci_release_regions (pdev); pci_release_regions (pdev);
free_netdev(dev); free_netdev(dev);
pci_disable_device(pdev);
pci_set_drvdata (pdev, NULL); pci_set_drvdata (pdev, NULL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment