aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:24:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:56 -0500
commit06b0e68327d499c3588c954d2a2d86458d451c4b (patch)
tree10adca5d73c01d185656e58ce1059a04d95fbc36 /drivers/net
parent0e1effe39a5973888bed03db3a4998c4b8ba333a (diff)
net/xilinx: 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')
-rw-r--r--drivers/net/ethernet/xilinx/ll_temac_main.c8
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_emaclite.c8
2 files changed, 8 insertions, 8 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 = {
1002 .get_ts_info = ethtool_op_get_ts_info, 1002 .get_ts_info = ethtool_op_get_ts_info,
1003}; 1003};
1004 1004
1005static int __devinit temac_of_probe(struct platform_device *op) 1005static int temac_of_probe(struct platform_device *op)
1006{ 1006{
1007 struct device_node *np; 1007 struct device_node *np;
1008 struct temac_local *lp; 1008 struct temac_local *lp;
@@ -1144,7 +1144,7 @@ static int __devinit temac_of_probe(struct platform_device *op)
1144 return rc; 1144 return rc;
1145} 1145}
1146 1146
1147static int __devexit temac_of_remove(struct platform_device *op) 1147static int temac_of_remove(struct platform_device *op)
1148{ 1148{
1149 struct net_device *ndev = dev_get_drvdata(&op->dev); 1149 struct net_device *ndev = dev_get_drvdata(&op->dev);
1150 struct temac_local *lp = netdev_priv(ndev); 1150 struct temac_local *lp = netdev_priv(ndev);
@@ -1163,7 +1163,7 @@ static int __devexit temac_of_remove(struct platform_device *op)
1163 return 0; 1163 return 0;
1164} 1164}
1165 1165
1166static struct of_device_id temac_of_match[] __devinitdata = { 1166static struct of_device_id temac_of_match[] = {
1167 { .compatible = "xlnx,xps-ll-temac-1.01.b", }, 1167 { .compatible = "xlnx,xps-ll-temac-1.01.b", },
1168 { .compatible = "xlnx,xps-ll-temac-2.00.a", }, 1168 { .compatible = "xlnx,xps-ll-temac-2.00.a", },
1169 { .compatible = "xlnx,xps-ll-temac-2.02.a", }, 1169 { .compatible = "xlnx,xps-ll-temac-2.02.a", },
@@ -1174,7 +1174,7 @@ MODULE_DEVICE_TABLE(of, temac_of_match);
1174 1174
1175static struct platform_driver temac_of_driver = { 1175static struct platform_driver temac_of_driver = {
1176 .probe = temac_of_probe, 1176 .probe = temac_of_probe,
1177 .remove = __devexit_p(temac_of_remove), 1177 .remove = temac_of_remove,
1178 .driver = { 1178 .driver = {
1179 .owner = THIS_MODULE, 1179 .owner = THIS_MODULE,
1180 .name = "xilinx_temac", 1180 .name = "xilinx_temac",
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;
1107 * Return: 0, if the driver is bound to the Emaclite device, or 1107 * Return: 0, if the driver is bound to the Emaclite device, or
1108 * a negative error if there is failure. 1108 * a negative error if there is failure.
1109 */ 1109 */
1110static int __devinit xemaclite_of_probe(struct platform_device *ofdev) 1110static int xemaclite_of_probe(struct platform_device *ofdev)
1111{ 1111{
1112 struct resource r_irq; /* Interrupt resources */ 1112 struct resource r_irq; /* Interrupt resources */
1113 struct resource r_mem; /* IO mem resources */ 1113 struct resource r_mem; /* IO mem resources */
@@ -1229,7 +1229,7 @@ error2:
1229 * 1229 *
1230 * Return: 0, always. 1230 * Return: 0, always.
1231 */ 1231 */
1232static int __devexit xemaclite_of_remove(struct platform_device *of_dev) 1232static int xemaclite_of_remove(struct platform_device *of_dev)
1233{ 1233{
1234 struct device *dev = &of_dev->dev; 1234 struct device *dev = &of_dev->dev;
1235 struct net_device *ndev = dev_get_drvdata(dev); 1235 struct net_device *ndev = dev_get_drvdata(dev);
@@ -1280,7 +1280,7 @@ static struct net_device_ops xemaclite_netdev_ops = {
1280}; 1280};
1281 1281
1282/* Match table for OF platform binding */ 1282/* Match table for OF platform binding */
1283static struct of_device_id xemaclite_of_match[] __devinitdata = { 1283static struct of_device_id xemaclite_of_match[] = {
1284 { .compatible = "xlnx,opb-ethernetlite-1.01.a", }, 1284 { .compatible = "xlnx,opb-ethernetlite-1.01.a", },
1285 { .compatible = "xlnx,opb-ethernetlite-1.01.b", }, 1285 { .compatible = "xlnx,opb-ethernetlite-1.01.b", },
1286 { .compatible = "xlnx,xps-ethernetlite-1.00.a", }, 1286 { .compatible = "xlnx,xps-ethernetlite-1.00.a", },
@@ -1298,7 +1298,7 @@ static struct platform_driver xemaclite_of_driver = {
1298 .of_match_table = xemaclite_of_match, 1298 .of_match_table = xemaclite_of_match,
1299 }, 1299 },
1300 .probe = xemaclite_of_probe, 1300 .probe = xemaclite_of_probe,
1301 .remove = __devexit_p(xemaclite_of_remove), 1301 .remove = xemaclite_of_remove,
1302}; 1302};
1303 1303
1304module_platform_driver(xemaclite_of_driver); 1304module_platform_driver(xemaclite_of_driver);