diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:52 -0500 |
commit | f3f9e50927b6c4791bf81dacae8bf5e7832b535d (patch) | |
tree | 11b03e334fff2b0b5dcc7085b7d0e75630ce92fc /drivers/net/ethernet/smsc | |
parent | 9f1e13db5987c440a76c496d83c773c13afb557e (diff) |
smsc9420: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/smsc')
-rw-r--r-- | drivers/net/ethernet/smsc/smsc9420.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/smsc/smsc9420.c b/drivers/net/ethernet/smsc/smsc9420.c index 1fcd914ec39b..3c586585e1b3 100644 --- a/drivers/net/ethernet/smsc/smsc9420.c +++ b/drivers/net/ethernet/smsc/smsc9420.c | |||
@@ -1577,7 +1577,7 @@ static const struct net_device_ops smsc9420_netdev_ops = { | |||
1577 | #endif /* CONFIG_NET_POLL_CONTROLLER */ | 1577 | #endif /* CONFIG_NET_POLL_CONTROLLER */ |
1578 | }; | 1578 | }; |
1579 | 1579 | ||
1580 | static int __devinit | 1580 | static int |
1581 | smsc9420_probe(struct pci_dev *pdev, const struct pci_device_id *id) | 1581 | smsc9420_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
1582 | { | 1582 | { |
1583 | struct net_device *dev; | 1583 | struct net_device *dev; |
@@ -1702,7 +1702,7 @@ out_0: | |||
1702 | return -ENODEV; | 1702 | return -ENODEV; |
1703 | } | 1703 | } |
1704 | 1704 | ||
1705 | static void __devexit smsc9420_remove(struct pci_dev *pdev) | 1705 | static void smsc9420_remove(struct pci_dev *pdev) |
1706 | { | 1706 | { |
1707 | struct net_device *dev; | 1707 | struct net_device *dev; |
1708 | struct smsc9420_pdata *pd; | 1708 | struct smsc9420_pdata *pd; |
@@ -1736,7 +1736,7 @@ static struct pci_driver smsc9420_driver = { | |||
1736 | .name = DRV_NAME, | 1736 | .name = DRV_NAME, |
1737 | .id_table = smsc9420_id_table, | 1737 | .id_table = smsc9420_id_table, |
1738 | .probe = smsc9420_probe, | 1738 | .probe = smsc9420_probe, |
1739 | .remove = __devexit_p(smsc9420_remove), | 1739 | .remove = smsc9420_remove, |
1740 | #ifdef CONFIG_PM | 1740 | #ifdef CONFIG_PM |
1741 | .suspend = smsc9420_suspend, | 1741 | .suspend = smsc9420_suspend, |
1742 | .resume = smsc9420_resume, | 1742 | .resume = smsc9420_resume, |