summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/icplus
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/icplus')
-rw-r--r--drivers/net/ethernet/icplus/ipg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/icplus/ipg.c b/drivers/net/ethernet/icplus/ipg.c
index 25045ae..bdf5023 100644
--- a/drivers/net/ethernet/icplus/ipg.c
+++ b/drivers/net/ethernet/icplus/ipg.c
@@ -2183,6 +2183,7 @@ static void ipg_remove(struct pci_dev *pdev)
free_netdev(dev);
pci_disable_device(pdev);
+ pci_set_drvdata(pdev, NULL);
}
static const struct net_device_ops ipg_netdev_ops = {