aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sun/sunbmac.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:24:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:55 -0500
commitf73d12bd298f9614d8600326e9bd1f7871fcde4b (patch)
tree736c67ac825f2576b6d3a703defd1859e13787eb /drivers/net/ethernet/sun/sunbmac.c
parentf48a3c2af87960e3d497b518a3253337a18016db (diff)
net/sun: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/sun/sunbmac.c')
-rw-r--r--drivers/net/ethernet/sun/sunbmac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sun/sunbmac.c b/drivers/net/ethernet/sun/sunbmac.c
index c9c977bf02ac..8fda91009226 100644
--- a/drivers/net/ethernet/sun/sunbmac.c
+++ b/drivers/net/ethernet/sun/sunbmac.c
@@ -1074,7 +1074,7 @@ static const struct net_device_ops bigmac_ops = {
1074 .ndo_validate_addr = eth_validate_addr, 1074 .ndo_validate_addr = eth_validate_addr,
1075}; 1075};
1076 1076
1077static int __devinit bigmac_ether_init(struct platform_device *op, 1077static int bigmac_ether_init(struct platform_device *op,
1078 struct platform_device *qec_op) 1078 struct platform_device *qec_op)
1079{ 1079{
1080 static int version_printed; 1080 static int version_printed;
@@ -1233,7 +1233,7 @@ fail_and_cleanup:
1233/* QEC can be the parent of either QuadEthernet or a BigMAC. We want 1233/* QEC can be the parent of either QuadEthernet or a BigMAC. We want
1234 * the latter. 1234 * the latter.
1235 */ 1235 */
1236static int __devinit bigmac_sbus_probe(struct platform_device *op) 1236static int bigmac_sbus_probe(struct platform_device *op)
1237{ 1237{
1238 struct device *parent = op->dev.parent; 1238 struct device *parent = op->dev.parent;
1239 struct platform_device *qec_op; 1239 struct platform_device *qec_op;
@@ -1243,7 +1243,7 @@ static int __devinit bigmac_sbus_probe(struct platform_device *op)
1243 return bigmac_ether_init(op, qec_op); 1243 return bigmac_ether_init(op, qec_op);
1244} 1244}
1245 1245
1246static int __devexit bigmac_sbus_remove(struct platform_device *op) 1246static int bigmac_sbus_remove(struct platform_device *op)
1247{ 1247{
1248 struct bigmac *bp = dev_get_drvdata(&op->dev); 1248 struct bigmac *bp = dev_get_drvdata(&op->dev);
1249 struct device *parent = op->dev.parent; 1249 struct device *parent = op->dev.parent;
@@ -1286,7 +1286,7 @@ static struct platform_driver bigmac_sbus_driver = {
1286 .of_match_table = bigmac_sbus_match, 1286 .of_match_table = bigmac_sbus_match,
1287 }, 1287 },
1288 .probe = bigmac_sbus_probe, 1288 .probe = bigmac_sbus_probe,
1289 .remove = __devexit_p(bigmac_sbus_remove), 1289 .remove = bigmac_sbus_remove,
1290}; 1290};
1291 1291
1292module_platform_driver(bigmac_sbus_driver); 1292module_platform_driver(bigmac_sbus_driver);