提交 19d1b44a 编写于 作者: B Bill Pemberton 提交者: Greg Kroah-Hartman

enc28j60: 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: NBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f57e6848
...@@ -1541,7 +1541,7 @@ static const struct net_device_ops enc28j60_netdev_ops = { ...@@ -1541,7 +1541,7 @@ static const struct net_device_ops enc28j60_netdev_ops = {
.ndo_validate_addr = eth_validate_addr, .ndo_validate_addr = eth_validate_addr,
}; };
static int __devinit enc28j60_probe(struct spi_device *spi) static int enc28j60_probe(struct spi_device *spi)
{ {
struct net_device *dev; struct net_device *dev;
struct enc28j60_net *priv; struct enc28j60_net *priv;
...@@ -1617,7 +1617,7 @@ static int __devinit enc28j60_probe(struct spi_device *spi) ...@@ -1617,7 +1617,7 @@ static int __devinit enc28j60_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit enc28j60_remove(struct spi_device *spi) static int enc28j60_remove(struct spi_device *spi)
{ {
struct enc28j60_net *priv = dev_get_drvdata(&spi->dev); struct enc28j60_net *priv = dev_get_drvdata(&spi->dev);
...@@ -1637,7 +1637,7 @@ static struct spi_driver enc28j60_driver = { ...@@ -1637,7 +1637,7 @@ static struct spi_driver enc28j60_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = enc28j60_probe, .probe = enc28j60_probe,
.remove = __devexit_p(enc28j60_remove), .remove = enc28j60_remove,
}; };
static int __init enc28j60_init(void) static int __init enc28j60_init(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册