Commit 9871b639 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

ixp4xx_eth: 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: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 48d16cb1
...@@ -1379,7 +1379,7 @@ static const struct net_device_ops ixp4xx_netdev_ops = { ...@@ -1379,7 +1379,7 @@ static const struct net_device_ops ixp4xx_netdev_ops = {
.ndo_validate_addr = eth_validate_addr, .ndo_validate_addr = eth_validate_addr,
}; };
static int __devinit eth_init_one(struct platform_device *pdev) static int eth_init_one(struct platform_device *pdev)
{ {
struct port *port; struct port *port;
struct net_device *dev; struct net_device *dev;
...@@ -1480,7 +1480,7 @@ static int __devinit eth_init_one(struct platform_device *pdev) ...@@ -1480,7 +1480,7 @@ static int __devinit eth_init_one(struct platform_device *pdev)
return err; return err;
} }
static int __devexit eth_remove_one(struct platform_device *pdev) static int eth_remove_one(struct platform_device *pdev)
{ {
struct net_device *dev = platform_get_drvdata(pdev); struct net_device *dev = platform_get_drvdata(pdev);
struct port *port = netdev_priv(dev); struct port *port = netdev_priv(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment