Skip to contentSkip to conversation

drivers/net/ipg.c: add __devexit annotation

PATCH In review Adrian Bunk 2 participants 2 messages Dec 11, 2007 – Dec 12, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/ipg.c: add __devexit annotation

ipg_remove() can become __devexit.

---
97ace7a0e52ceac30caae20e1a3fe72c4644bce7

drivers/net/ipg.c +1 -1
index dbd23bb..285ebbc 100644
@@ -2214,7 +2214,7 @@ static struct ethtool_ops ipg_ethtool_ops = {
 	.nway_reset   = ipg_nway_reset,
 };
 
-static void ipg_remove(struct pci_dev *pdev)
+static void __devexit ipg_remove(struct pci_dev *pdev)
 {
 	struct net_device *dev = pci_get_drvdata(pdev);
 	struct ipg_nic_private *sp = netdev_priv(dev);