提交 ef312246 编写于 作者: A Adrian Bunk 提交者: David S. Miller

ipg: add __devexit annotation

ipg_remove() can become __devexit.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
上级 2b1ea591
...@@ -2178,7 +2178,7 @@ static struct ethtool_ops ipg_ethtool_ops = { ...@@ -2178,7 +2178,7 @@ static struct ethtool_ops ipg_ethtool_ops = {
.nway_reset = ipg_nway_reset, .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 net_device *dev = pci_get_drvdata(pdev);
struct ipg_nic_private *sp = netdev_priv(dev); struct ipg_nic_private *sp = netdev_priv(dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册