diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:42 -0500 |
commit | 6b6a3e7f65e5736030032b4d39901479ba437e5f (patch) | |
tree | 52158c438419d339a7add03c1b80db5883fd5b39 /drivers/net/ethernet/davicom/dm9000.c | |
parent | 854de92f6d3471e694ea807a52b2670862b15d42 (diff) |
dm9000: 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/davicom/dm9000.c')
-rw-r--r-- | drivers/net/ethernet/davicom/dm9000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c index 36499d5edd95..c716e95a61fe 100644 --- a/drivers/net/ethernet/davicom/dm9000.c +++ b/drivers/net/ethernet/davicom/dm9000.c | |||
@@ -1359,7 +1359,7 @@ static const struct net_device_ops dm9000_netdev_ops = { | |||
1359 | /* | 1359 | /* |
1360 | * Search DM9000 board, allocate space and register it | 1360 | * Search DM9000 board, allocate space and register it |
1361 | */ | 1361 | */ |
1362 | static int __devinit | 1362 | static int |
1363 | dm9000_probe(struct platform_device *pdev) | 1363 | dm9000_probe(struct platform_device *pdev) |
1364 | { | 1364 | { |
1365 | struct dm9000_plat_data *pdata = pdev->dev.platform_data; | 1365 | struct dm9000_plat_data *pdata = pdev->dev.platform_data; |
@@ -1661,7 +1661,7 @@ static const struct dev_pm_ops dm9000_drv_pm_ops = { | |||
1661 | .resume = dm9000_drv_resume, | 1661 | .resume = dm9000_drv_resume, |
1662 | }; | 1662 | }; |
1663 | 1663 | ||
1664 | static int __devexit | 1664 | static int |
1665 | dm9000_drv_remove(struct platform_device *pdev) | 1665 | dm9000_drv_remove(struct platform_device *pdev) |
1666 | { | 1666 | { |
1667 | struct net_device *ndev = platform_get_drvdata(pdev); | 1667 | struct net_device *ndev = platform_get_drvdata(pdev); |
@@ -1683,7 +1683,7 @@ static struct platform_driver dm9000_driver = { | |||
1683 | .pm = &dm9000_drv_pm_ops, | 1683 | .pm = &dm9000_drv_pm_ops, |
1684 | }, | 1684 | }, |
1685 | .probe = dm9000_probe, | 1685 | .probe = dm9000_probe, |
1686 | .remove = __devexit_p(dm9000_drv_remove), | 1686 | .remove = dm9000_drv_remove, |
1687 | }; | 1687 | }; |
1688 | 1688 | ||
1689 | static int __init | 1689 | static int __init |