diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:56 -0500 |
commit | a0a4efedf9dea0f2dd9625181b48c1f8c6d5418e (patch) | |
tree | 14cd5e5bf2d4061b01e6ee9a10d3221f84cb8bd9 /drivers/net/ethernet/ethoc.c | |
parent | 06b0e68327d499c3588c954d2a2d86458d451c4b (diff) |
net/ethernet: 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/ethoc.c')
-rw-r--r-- | drivers/net/ethernet/ethoc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index 94b7bfcdb24e..8db1c06008de 100644 --- a/drivers/net/ethernet/ethoc.c +++ b/drivers/net/ethernet/ethoc.c | |||
@@ -665,7 +665,7 @@ static void ethoc_mdio_poll(struct net_device *dev) | |||
665 | { | 665 | { |
666 | } | 666 | } |
667 | 667 | ||
668 | static int __devinit ethoc_mdio_probe(struct net_device *dev) | 668 | static int ethoc_mdio_probe(struct net_device *dev) |
669 | { | 669 | { |
670 | struct ethoc *priv = netdev_priv(dev); | 670 | struct ethoc *priv = netdev_priv(dev); |
671 | struct phy_device *phy; | 671 | struct phy_device *phy; |
@@ -905,7 +905,7 @@ static const struct net_device_ops ethoc_netdev_ops = { | |||
905 | * ethoc_probe - initialize OpenCores ethernet MAC | 905 | * ethoc_probe - initialize OpenCores ethernet MAC |
906 | * pdev: platform device | 906 | * pdev: platform device |
907 | */ | 907 | */ |
908 | static int __devinit ethoc_probe(struct platform_device *pdev) | 908 | static int ethoc_probe(struct platform_device *pdev) |
909 | { | 909 | { |
910 | struct net_device *netdev = NULL; | 910 | struct net_device *netdev = NULL; |
911 | struct resource *res = NULL; | 911 | struct resource *res = NULL; |
@@ -1143,7 +1143,7 @@ out: | |||
1143 | * ethoc_remove - shutdown OpenCores ethernet MAC | 1143 | * ethoc_remove - shutdown OpenCores ethernet MAC |
1144 | * @pdev: platform device | 1144 | * @pdev: platform device |
1145 | */ | 1145 | */ |
1146 | static int __devexit ethoc_remove(struct platform_device *pdev) | 1146 | static int ethoc_remove(struct platform_device *pdev) |
1147 | { | 1147 | { |
1148 | struct net_device *netdev = platform_get_drvdata(pdev); | 1148 | struct net_device *netdev = platform_get_drvdata(pdev); |
1149 | struct ethoc *priv = netdev_priv(netdev); | 1149 | struct ethoc *priv = netdev_priv(netdev); |
@@ -1190,7 +1190,7 @@ MODULE_DEVICE_TABLE(of, ethoc_match); | |||
1190 | 1190 | ||
1191 | static struct platform_driver ethoc_driver = { | 1191 | static struct platform_driver ethoc_driver = { |
1192 | .probe = ethoc_probe, | 1192 | .probe = ethoc_probe, |
1193 | .remove = __devexit_p(ethoc_remove), | 1193 | .remove = ethoc_remove, |
1194 | .suspend = ethoc_suspend, | 1194 | .suspend = ethoc_suspend, |
1195 | .resume = ethoc_resume, | 1195 | .resume = ethoc_resume, |
1196 | .driver = { | 1196 | .driver = { |