Commit 48d16cb1 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

xilinx_axienet: 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: Anirudha Sarangi <anirudh@xilinx.com>
Cc: John Linn <John.Linn@xilinx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27add006
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#define AXIENET_REGS_N 32 #define AXIENET_REGS_N 32
/* Match table for of_platform binding */ /* Match table for of_platform binding */
static struct of_device_id axienet_of_match[] __devinitdata = { static struct of_device_id axienet_of_match[] = {
{ .compatible = "xlnx,axi-ethernet-1.00.a", }, { .compatible = "xlnx,axi-ethernet-1.00.a", },
{ .compatible = "xlnx,axi-ethernet-1.01.a", }, { .compatible = "xlnx,axi-ethernet-1.01.a", },
{ .compatible = "xlnx,axi-ethernet-2.01.a", }, { .compatible = "xlnx,axi-ethernet-2.01.a", },
...@@ -1482,7 +1482,7 @@ static void axienet_dma_err_handler(unsigned long data) ...@@ -1482,7 +1482,7 @@ static void axienet_dma_err_handler(unsigned long data)
* device. Parses through device tree and populates fields of * device. Parses through device tree and populates fields of
* axienet_local. It registers the Ethernet device. * axienet_local. It registers the Ethernet device.
*/ */
static int __devinit axienet_of_probe(struct platform_device *op) static int axienet_of_probe(struct platform_device *op)
{ {
__be32 *p; __be32 *p;
int size, ret = 0; int size, ret = 0;
...@@ -1632,7 +1632,7 @@ static int __devinit axienet_of_probe(struct platform_device *op) ...@@ -1632,7 +1632,7 @@ static int __devinit axienet_of_probe(struct platform_device *op)
return ret; return ret;
} }
static int __devexit axienet_of_remove(struct platform_device *op) static int axienet_of_remove(struct platform_device *op)
{ {
struct net_device *ndev = dev_get_drvdata(&op->dev); struct net_device *ndev = dev_get_drvdata(&op->dev);
struct axienet_local *lp = netdev_priv(ndev); struct axienet_local *lp = netdev_priv(ndev);
...@@ -1656,7 +1656,7 @@ static int __devexit axienet_of_remove(struct platform_device *op) ...@@ -1656,7 +1656,7 @@ static int __devexit axienet_of_remove(struct platform_device *op)
static struct platform_driver axienet_of_driver = { static struct platform_driver axienet_of_driver = {
.probe = axienet_of_probe, .probe = axienet_of_probe,
.remove = __devexit_p(axienet_of_remove), .remove = axienet_of_remove,
.driver = { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.name = "xilinx_axienet", .name = "xilinx_axienet",
......
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