aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aeroflex
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:22:55 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:41 -0500
commitc0c0e29d8c94fb483bf94a2157f1ef0a7fb70b55 (patch)
tree11d0210d3cb560ccfca54eef999ff2582b0dd1f8 /drivers/net/ethernet/aeroflex
parent49f7315b3ece7900cbe763da2af67928fbdf6d55 (diff)
aeroflex: 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: Kristoffer Glembo <kristoffer@gaisler.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/aeroflex')
-rw-r--r--drivers/net/ethernet/aeroflex/greth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/aeroflex/greth.c b/drivers/net/ethernet/aeroflex/greth.c
index 9c77c736f171..aa53115bb38b 100644
--- a/drivers/net/ethernet/aeroflex/greth.c
+++ b/drivers/net/ethernet/aeroflex/greth.c
@@ -1376,7 +1376,7 @@ error:
1376} 1376}
1377 1377
1378/* Initialize the GRETH MAC */ 1378/* Initialize the GRETH MAC */
1379static int __devinit greth_of_probe(struct platform_device *ofdev) 1379static int greth_of_probe(struct platform_device *ofdev)
1380{ 1380{
1381 struct net_device *dev; 1381 struct net_device *dev;
1382 struct greth_private *greth; 1382 struct greth_private *greth;
@@ -1576,7 +1576,7 @@ error1:
1576 return err; 1576 return err;
1577} 1577}
1578 1578
1579static int __devexit greth_of_remove(struct platform_device *of_dev) 1579static int greth_of_remove(struct platform_device *of_dev)
1580{ 1580{
1581 struct net_device *ndev = dev_get_drvdata(&of_dev->dev); 1581 struct net_device *ndev = dev_get_drvdata(&of_dev->dev);
1582 struct greth_private *greth = netdev_priv(ndev); 1582 struct greth_private *greth = netdev_priv(ndev);
@@ -1619,7 +1619,7 @@ static struct platform_driver greth_of_driver = {
1619 .of_match_table = greth_of_match, 1619 .of_match_table = greth_of_match,
1620 }, 1620 },
1621 .probe = greth_of_probe, 1621 .probe = greth_of_probe,
1622 .remove = __devexit_p(greth_of_remove), 1622 .remove = greth_of_remove,
1623}; 1623};
1624 1624
1625module_platform_driver(greth_of_driver); 1625module_platform_driver(greth_of_driver);