diff options
Diffstat (limited to 'drivers/net/ethernet/xilinx')
| -rw-r--r-- | drivers/net/ethernet/xilinx/ll_temac_main.c | 8 | ||||
| -rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 8 | ||||
| -rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_emaclite.c | 8 | 
3 files changed, 12 insertions, 12 deletions
| diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c index f8e351880119..aad909d793d7 100644 --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c @@ -1002,7 +1002,7 @@ static const struct ethtool_ops temac_ethtool_ops = {  	.get_ts_info = ethtool_op_get_ts_info,  }; -static int __devinit temac_of_probe(struct platform_device *op) +static int temac_of_probe(struct platform_device *op)  {  	struct device_node *np;  	struct temac_local *lp; @@ -1144,7 +1144,7 @@ static int __devinit temac_of_probe(struct platform_device *op)  	return rc;  } -static int __devexit temac_of_remove(struct platform_device *op) +static int temac_of_remove(struct platform_device *op)  {  	struct net_device *ndev = dev_get_drvdata(&op->dev);  	struct temac_local *lp = netdev_priv(ndev); @@ -1163,7 +1163,7 @@ static int __devexit temac_of_remove(struct platform_device *op)  	return 0;  } -static struct of_device_id temac_of_match[] __devinitdata = { +static struct of_device_id temac_of_match[] = {  	{ .compatible = "xlnx,xps-ll-temac-1.01.b", },  	{ .compatible = "xlnx,xps-ll-temac-2.00.a", },  	{ .compatible = "xlnx,xps-ll-temac-2.02.a", }, @@ -1174,7 +1174,7 @@ MODULE_DEVICE_TABLE(of, temac_of_match);  static struct platform_driver temac_of_driver = {  	.probe = temac_of_probe, -	.remove = __devexit_p(temac_of_remove), +	.remove = temac_of_remove,  	.driver = {  		.owner = THIS_MODULE,  		.name = "xilinx_temac", diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index a788501e978e..d9f69b82cc4f 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -48,7 +48,7 @@  #define AXIENET_REGS_N		32  /* 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.01.a", },  	{ .compatible = "xlnx,axi-ethernet-2.01.a", }, @@ -1482,7 +1482,7 @@ static void axienet_dma_err_handler(unsigned long data)   * device. Parses through device tree and populates fields of   * 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;  	int size, ret = 0; @@ -1632,7 +1632,7 @@ nodev:  	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 axienet_local *lp = netdev_priv(ndev); @@ -1656,7 +1656,7 @@ static int __devexit axienet_of_remove(struct platform_device *op)  static struct platform_driver axienet_of_driver = {  	.probe = axienet_of_probe, -	.remove = __devexit_p(axienet_of_remove), +	.remove = axienet_of_remove,  	.driver = {  		 .owner = THIS_MODULE,  		 .name = "xilinx_axienet", diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c index 77cfe5110318..919b983114e9 100644 --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c @@ -1107,7 +1107,7 @@ static struct net_device_ops xemaclite_netdev_ops;   * Return:	0, if the driver is bound to the Emaclite device, or   *		a negative error if there is failure.   */ -static int __devinit xemaclite_of_probe(struct platform_device *ofdev) +static int xemaclite_of_probe(struct platform_device *ofdev)  {  	struct resource r_irq; /* Interrupt resources */  	struct resource r_mem; /* IO mem resources */ @@ -1229,7 +1229,7 @@ error2:   *   * Return:	0, always.   */ -static int __devexit xemaclite_of_remove(struct platform_device *of_dev) +static int xemaclite_of_remove(struct platform_device *of_dev)  {  	struct device *dev = &of_dev->dev;  	struct net_device *ndev = dev_get_drvdata(dev); @@ -1280,7 +1280,7 @@ static struct net_device_ops xemaclite_netdev_ops = {  };  /* Match table for OF platform binding */ -static struct of_device_id xemaclite_of_match[] __devinitdata = { +static struct of_device_id xemaclite_of_match[] = {  	{ .compatible = "xlnx,opb-ethernetlite-1.01.a", },  	{ .compatible = "xlnx,opb-ethernetlite-1.01.b", },  	{ .compatible = "xlnx,xps-ethernetlite-1.00.a", }, @@ -1298,7 +1298,7 @@ static struct platform_driver xemaclite_of_driver = {  		.of_match_table = xemaclite_of_match,  	},  	.probe		= xemaclite_of_probe, -	.remove		= __devexit_p(xemaclite_of_remove), +	.remove		= xemaclite_of_remove,  };  module_platform_driver(xemaclite_of_driver); |