diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:52 -0500 |
commit | 9f1e13db5987c440a76c496d83c773c13afb557e (patch) | |
tree | 431fc170f741b3bbd06d6f2ca5571cb85662e7f7 /drivers/net/ethernet/smsc/smc911x.c | |
parent | 8489ec1f97006495d9eb06a90f1ffcbfeb879aab (diff) |
smc911x: 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/smsc/smc911x.c')
-rw-r--r-- | drivers/net/ethernet/smsc/smc911x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c index 990f57467a15..59a6f88da867 100644 --- a/drivers/net/ethernet/smsc/smc911x.c +++ b/drivers/net/ethernet/smsc/smc911x.c | |||
@@ -1712,7 +1712,7 @@ static const struct ethtool_ops smc911x_ethtool_ops = { | |||
1712 | * This routine has a simple purpose -- make the SMC chip generate an | 1712 | * This routine has a simple purpose -- make the SMC chip generate an |
1713 | * interrupt, so an auto-detect routine can detect it, and find the IRQ, | 1713 | * interrupt, so an auto-detect routine can detect it, and find the IRQ, |
1714 | */ | 1714 | */ |
1715 | static int __devinit smc911x_findirq(struct net_device *dev) | 1715 | static int smc911x_findirq(struct net_device *dev) |
1716 | { | 1716 | { |
1717 | struct smc911x_local *lp = netdev_priv(dev); | 1717 | struct smc911x_local *lp = netdev_priv(dev); |
1718 | int timeout = 20; | 1718 | int timeout = 20; |
@@ -1790,7 +1790,7 @@ static const struct net_device_ops smc911x_netdev_ops = { | |||
1790 | * o actually GRAB the irq. | 1790 | * o actually GRAB the irq. |
1791 | * o GRAB the region | 1791 | * o GRAB the region |
1792 | */ | 1792 | */ |
1793 | static int __devinit smc911x_probe(struct net_device *dev) | 1793 | static int smc911x_probe(struct net_device *dev) |
1794 | { | 1794 | { |
1795 | struct smc911x_local *lp = netdev_priv(dev); | 1795 | struct smc911x_local *lp = netdev_priv(dev); |
1796 | int i, retval; | 1796 | int i, retval; |
@@ -2030,7 +2030,7 @@ err_out: | |||
2030 | * 0 --> there is a device | 2030 | * 0 --> there is a device |
2031 | * anything else, error | 2031 | * anything else, error |
2032 | */ | 2032 | */ |
2033 | static int __devinit smc911x_drv_probe(struct platform_device *pdev) | 2033 | static int smc911x_drv_probe(struct platform_device *pdev) |
2034 | { | 2034 | { |
2035 | struct net_device *ndev; | 2035 | struct net_device *ndev; |
2036 | struct resource *res; | 2036 | struct resource *res; |
@@ -2105,7 +2105,7 @@ out: | |||
2105 | return ret; | 2105 | return ret; |
2106 | } | 2106 | } |
2107 | 2107 | ||
2108 | static int __devexit smc911x_drv_remove(struct platform_device *pdev) | 2108 | static int smc911x_drv_remove(struct platform_device *pdev) |
2109 | { | 2109 | { |
2110 | struct net_device *ndev = platform_get_drvdata(pdev); | 2110 | struct net_device *ndev = platform_get_drvdata(pdev); |
2111 | struct smc911x_local *lp = netdev_priv(ndev); | 2111 | struct smc911x_local *lp = netdev_priv(ndev); |
@@ -2176,7 +2176,7 @@ static int smc911x_drv_resume(struct platform_device *dev) | |||
2176 | 2176 | ||
2177 | static struct platform_driver smc911x_driver = { | 2177 | static struct platform_driver smc911x_driver = { |
2178 | .probe = smc911x_drv_probe, | 2178 | .probe = smc911x_drv_probe, |
2179 | .remove = __devexit_p(smc911x_drv_remove), | 2179 | .remove = smc911x_drv_remove, |
2180 | .suspend = smc911x_drv_suspend, | 2180 | .suspend = smc911x_drv_suspend, |
2181 | .resume = smc911x_drv_resume, | 2181 | .resume = smc911x_drv_resume, |
2182 | .driver = { | 2182 | .driver = { |