diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:54 -0500 |
commit | 0cb0568dfea6b51a39362c484c9caddfc94a78b0 (patch) | |
tree | 93520ded19c7840dbde7fea47c4b52744c09c40c /drivers | |
parent | af37557b1b222c64e005c105c81aa3888128bb5d (diff) |
net/amd: 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')
-rw-r--r-- | drivers/net/ethernet/amd/a2065.c | 12 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/amd8111e.c | 8 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/ariadne.c | 8 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/au1000_eth.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/declance.c | 8 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/depca.c | 10 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/hplance.c | 14 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/sunlance.c | 8 |
8 files changed, 37 insertions, 37 deletions
diff --git a/drivers/net/ethernet/amd/a2065.c b/drivers/net/ethernet/amd/a2065.c index 689dfcafc6d4..818f6d6cdbe0 100644 --- a/drivers/net/ethernet/amd/a2065.c +++ b/drivers/net/ethernet/amd/a2065.c | |||
@@ -639,12 +639,12 @@ static void lance_set_multicast(struct net_device *dev) | |||
639 | netif_wake_queue(dev); | 639 | netif_wake_queue(dev); |
640 | } | 640 | } |
641 | 641 | ||
642 | static int __devinit a2065_init_one(struct zorro_dev *z, | 642 | static int a2065_init_one(struct zorro_dev *z, |
643 | const struct zorro_device_id *ent); | 643 | const struct zorro_device_id *ent); |
644 | static void __devexit a2065_remove_one(struct zorro_dev *z); | 644 | static void a2065_remove_one(struct zorro_dev *z); |
645 | 645 | ||
646 | 646 | ||
647 | static struct zorro_device_id a2065_zorro_tbl[] __devinitdata = { | 647 | static struct zorro_device_id a2065_zorro_tbl[] = { |
648 | { ZORRO_PROD_CBM_A2065_1 }, | 648 | { ZORRO_PROD_CBM_A2065_1 }, |
649 | { ZORRO_PROD_CBM_A2065_2 }, | 649 | { ZORRO_PROD_CBM_A2065_2 }, |
650 | { ZORRO_PROD_AMERISTAR_A2065 }, | 650 | { ZORRO_PROD_AMERISTAR_A2065 }, |
@@ -656,7 +656,7 @@ static struct zorro_driver a2065_driver = { | |||
656 | .name = "a2065", | 656 | .name = "a2065", |
657 | .id_table = a2065_zorro_tbl, | 657 | .id_table = a2065_zorro_tbl, |
658 | .probe = a2065_init_one, | 658 | .probe = a2065_init_one, |
659 | .remove = __devexit_p(a2065_remove_one), | 659 | .remove = a2065_remove_one, |
660 | }; | 660 | }; |
661 | 661 | ||
662 | static const struct net_device_ops lance_netdev_ops = { | 662 | static const struct net_device_ops lance_netdev_ops = { |
@@ -670,7 +670,7 @@ static const struct net_device_ops lance_netdev_ops = { | |||
670 | .ndo_set_mac_address = eth_mac_addr, | 670 | .ndo_set_mac_address = eth_mac_addr, |
671 | }; | 671 | }; |
672 | 672 | ||
673 | static int __devinit a2065_init_one(struct zorro_dev *z, | 673 | static int a2065_init_one(struct zorro_dev *z, |
674 | const struct zorro_device_id *ent) | 674 | const struct zorro_device_id *ent) |
675 | { | 675 | { |
676 | struct net_device *dev; | 676 | struct net_device *dev; |
@@ -754,7 +754,7 @@ static int __devinit a2065_init_one(struct zorro_dev *z, | |||
754 | } | 754 | } |
755 | 755 | ||
756 | 756 | ||
757 | static void __devexit a2065_remove_one(struct zorro_dev *z) | 757 | static void a2065_remove_one(struct zorro_dev *z) |
758 | { | 758 | { |
759 | struct net_device *dev = zorro_get_drvdata(z); | 759 | struct net_device *dev = zorro_get_drvdata(z); |
760 | 760 | ||
diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet/amd/amd8111e.c index 3491d4312fc9..42d4e6ad58a5 100644 --- a/drivers/net/ethernet/amd/amd8111e.c +++ b/drivers/net/ethernet/amd/amd8111e.c | |||
@@ -1702,7 +1702,7 @@ static int amd8111e_resume(struct pci_dev *pci_dev) | |||
1702 | } | 1702 | } |
1703 | 1703 | ||
1704 | 1704 | ||
1705 | static void __devexit amd8111e_remove_one(struct pci_dev *pdev) | 1705 | static void amd8111e_remove_one(struct pci_dev *pdev) |
1706 | { | 1706 | { |
1707 | struct net_device *dev = pci_get_drvdata(pdev); | 1707 | struct net_device *dev = pci_get_drvdata(pdev); |
1708 | if (dev) { | 1708 | if (dev) { |
@@ -1774,7 +1774,7 @@ static void amd8111e_config_ipg(struct net_device* dev) | |||
1774 | 1774 | ||
1775 | } | 1775 | } |
1776 | 1776 | ||
1777 | static void __devinit amd8111e_probe_ext_phy(struct net_device* dev) | 1777 | static void amd8111e_probe_ext_phy(struct net_device *dev) |
1778 | { | 1778 | { |
1779 | struct amd8111e_priv *lp = netdev_priv(dev); | 1779 | struct amd8111e_priv *lp = netdev_priv(dev); |
1780 | int i; | 1780 | int i; |
@@ -1810,7 +1810,7 @@ static const struct net_device_ops amd8111e_netdev_ops = { | |||
1810 | #endif | 1810 | #endif |
1811 | }; | 1811 | }; |
1812 | 1812 | ||
1813 | static int __devinit amd8111e_probe_one(struct pci_dev *pdev, | 1813 | static int amd8111e_probe_one(struct pci_dev *pdev, |
1814 | const struct pci_device_id *ent) | 1814 | const struct pci_device_id *ent) |
1815 | { | 1815 | { |
1816 | int err,i,pm_cap; | 1816 | int err,i,pm_cap; |
@@ -1976,7 +1976,7 @@ static struct pci_driver amd8111e_driver = { | |||
1976 | .name = MODULE_NAME, | 1976 | .name = MODULE_NAME, |
1977 | .id_table = amd8111e_pci_tbl, | 1977 | .id_table = amd8111e_pci_tbl, |
1978 | .probe = amd8111e_probe_one, | 1978 | .probe = amd8111e_probe_one, |
1979 | .remove = __devexit_p(amd8111e_remove_one), | 1979 | .remove = amd8111e_remove_one, |
1980 | .suspend = amd8111e_suspend, | 1980 | .suspend = amd8111e_suspend, |
1981 | .resume = amd8111e_resume | 1981 | .resume = amd8111e_resume |
1982 | }; | 1982 | }; |
diff --git a/drivers/net/ethernet/amd/ariadne.c b/drivers/net/ethernet/amd/ariadne.c index f2958df9a1e4..2ea7a231ef10 100644 --- a/drivers/net/ethernet/amd/ariadne.c +++ b/drivers/net/ethernet/amd/ariadne.c | |||
@@ -682,7 +682,7 @@ static void set_multicast_list(struct net_device *dev) | |||
682 | } | 682 | } |
683 | 683 | ||
684 | 684 | ||
685 | static void __devexit ariadne_remove_one(struct zorro_dev *z) | 685 | static void ariadne_remove_one(struct zorro_dev *z) |
686 | { | 686 | { |
687 | struct net_device *dev = zorro_get_drvdata(z); | 687 | struct net_device *dev = zorro_get_drvdata(z); |
688 | 688 | ||
@@ -692,7 +692,7 @@ static void __devexit ariadne_remove_one(struct zorro_dev *z) | |||
692 | free_netdev(dev); | 692 | free_netdev(dev); |
693 | } | 693 | } |
694 | 694 | ||
695 | static struct zorro_device_id ariadne_zorro_tbl[] __devinitdata = { | 695 | static struct zorro_device_id ariadne_zorro_tbl[] = { |
696 | { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE }, | 696 | { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE }, |
697 | { 0 } | 697 | { 0 } |
698 | }; | 698 | }; |
@@ -710,7 +710,7 @@ static const struct net_device_ops ariadne_netdev_ops = { | |||
710 | .ndo_set_mac_address = eth_mac_addr, | 710 | .ndo_set_mac_address = eth_mac_addr, |
711 | }; | 711 | }; |
712 | 712 | ||
713 | static int __devinit ariadne_init_one(struct zorro_dev *z, | 713 | static int ariadne_init_one(struct zorro_dev *z, |
714 | const struct zorro_device_id *ent) | 714 | const struct zorro_device_id *ent) |
715 | { | 715 | { |
716 | unsigned long board = z->resource.start; | 716 | unsigned long board = z->resource.start; |
@@ -774,7 +774,7 @@ static struct zorro_driver ariadne_driver = { | |||
774 | .name = "ariadne", | 774 | .name = "ariadne", |
775 | .id_table = ariadne_zorro_tbl, | 775 | .id_table = ariadne_zorro_tbl, |
776 | .probe = ariadne_init_one, | 776 | .probe = ariadne_init_one, |
777 | .remove = __devexit_p(ariadne_remove_one), | 777 | .remove = ariadne_remove_one, |
778 | }; | 778 | }; |
779 | 779 | ||
780 | static int __init ariadne_init_module(void) | 780 | static int __init ariadne_init_module(void) |
diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c index f195acfa2df7..2ea221ed4777 100644 --- a/drivers/net/ethernet/amd/au1000_eth.c +++ b/drivers/net/ethernet/amd/au1000_eth.c | |||
@@ -1016,7 +1016,7 @@ static const struct net_device_ops au1000_netdev_ops = { | |||
1016 | .ndo_change_mtu = eth_change_mtu, | 1016 | .ndo_change_mtu = eth_change_mtu, |
1017 | }; | 1017 | }; |
1018 | 1018 | ||
1019 | static int __devinit au1000_probe(struct platform_device *pdev) | 1019 | static int au1000_probe(struct platform_device *pdev) |
1020 | { | 1020 | { |
1021 | static unsigned version_printed; | 1021 | static unsigned version_printed; |
1022 | struct au1000_private *aup = NULL; | 1022 | struct au1000_private *aup = NULL; |
@@ -1295,7 +1295,7 @@ out: | |||
1295 | return err; | 1295 | return err; |
1296 | } | 1296 | } |
1297 | 1297 | ||
1298 | static int __devexit au1000_remove(struct platform_device *pdev) | 1298 | static int au1000_remove(struct platform_device *pdev) |
1299 | { | 1299 | { |
1300 | struct net_device *dev = platform_get_drvdata(pdev); | 1300 | struct net_device *dev = platform_get_drvdata(pdev); |
1301 | struct au1000_private *aup = netdev_priv(dev); | 1301 | struct au1000_private *aup = netdev_priv(dev); |
@@ -1340,7 +1340,7 @@ static int __devexit au1000_remove(struct platform_device *pdev) | |||
1340 | 1340 | ||
1341 | static struct platform_driver au1000_eth_driver = { | 1341 | static struct platform_driver au1000_eth_driver = { |
1342 | .probe = au1000_probe, | 1342 | .probe = au1000_probe, |
1343 | .remove = __devexit_p(au1000_remove), | 1343 | .remove = au1000_remove, |
1344 | .driver = { | 1344 | .driver = { |
1345 | .name = "au1000-eth", | 1345 | .name = "au1000-eth", |
1346 | .owner = THIS_MODULE, | 1346 | .owner = THIS_MODULE, |
diff --git a/drivers/net/ethernet/amd/declance.c b/drivers/net/ethernet/amd/declance.c index 7203b522f234..baca0bd1b393 100644 --- a/drivers/net/ethernet/amd/declance.c +++ b/drivers/net/ethernet/amd/declance.c | |||
@@ -72,7 +72,7 @@ | |||
72 | #include <asm/dec/machtype.h> | 72 | #include <asm/dec/machtype.h> |
73 | #include <asm/dec/system.h> | 73 | #include <asm/dec/system.h> |
74 | 74 | ||
75 | static char version[] __devinitdata = | 75 | static char version[] = |
76 | "declance.c: v0.011 by Linux MIPS DECstation task force\n"; | 76 | "declance.c: v0.011 by Linux MIPS DECstation task force\n"; |
77 | 77 | ||
78 | MODULE_AUTHOR("Linux MIPS DECstation task force"); | 78 | MODULE_AUTHOR("Linux MIPS DECstation task force"); |
@@ -1020,7 +1020,7 @@ static const struct net_device_ops lance_netdev_ops = { | |||
1020 | .ndo_set_mac_address = eth_mac_addr, | 1020 | .ndo_set_mac_address = eth_mac_addr, |
1021 | }; | 1021 | }; |
1022 | 1022 | ||
1023 | static int __devinit dec_lance_probe(struct device *bdev, const int type) | 1023 | static int dec_lance_probe(struct device *bdev, const int type) |
1024 | { | 1024 | { |
1025 | static unsigned version_printed; | 1025 | static unsigned version_printed; |
1026 | static const char fmt[] = "declance%d"; | 1026 | static const char fmt[] = "declance%d"; |
@@ -1322,7 +1322,7 @@ static void __exit dec_lance_platform_remove(void) | |||
1322 | } | 1322 | } |
1323 | 1323 | ||
1324 | #ifdef CONFIG_TC | 1324 | #ifdef CONFIG_TC |
1325 | static int __devinit dec_lance_tc_probe(struct device *dev); | 1325 | static int dec_lance_tc_probe(struct device *dev); |
1326 | static int __exit dec_lance_tc_remove(struct device *dev); | 1326 | static int __exit dec_lance_tc_remove(struct device *dev); |
1327 | 1327 | ||
1328 | static const struct tc_device_id dec_lance_tc_table[] = { | 1328 | static const struct tc_device_id dec_lance_tc_table[] = { |
@@ -1341,7 +1341,7 @@ static struct tc_driver dec_lance_tc_driver = { | |||
1341 | }, | 1341 | }, |
1342 | }; | 1342 | }; |
1343 | 1343 | ||
1344 | static int __devinit dec_lance_tc_probe(struct device *dev) | 1344 | static int dec_lance_tc_probe(struct device *dev) |
1345 | { | 1345 | { |
1346 | int status = dec_lance_probe(dev, PMAD_LANCE); | 1346 | int status = dec_lance_probe(dev, PMAD_LANCE); |
1347 | if (!status) | 1347 | if (!status) |
diff --git a/drivers/net/ethernet/amd/depca.c b/drivers/net/ethernet/amd/depca.c index c771de71612a..34a485363d5b 100644 --- a/drivers/net/ethernet/amd/depca.c +++ b/drivers/net/ethernet/amd/depca.c | |||
@@ -338,21 +338,21 @@ static struct eisa_driver depca_eisa_driver = { | |||
338 | .driver = { | 338 | .driver = { |
339 | .name = depca_string, | 339 | .name = depca_string, |
340 | .probe = depca_eisa_probe, | 340 | .probe = depca_eisa_probe, |
341 | .remove = __devexit_p (depca_device_remove) | 341 | .remove = depca_device_remove |
342 | } | 342 | } |
343 | }; | 343 | }; |
344 | #endif | 344 | #endif |
345 | 345 | ||
346 | static int depca_isa_probe (struct platform_device *); | 346 | static int depca_isa_probe (struct platform_device *); |
347 | 347 | ||
348 | static int __devexit depca_isa_remove(struct platform_device *pdev) | 348 | static int depca_isa_remove(struct platform_device *pdev) |
349 | { | 349 | { |
350 | return depca_device_remove(&pdev->dev); | 350 | return depca_device_remove(&pdev->dev); |
351 | } | 351 | } |
352 | 352 | ||
353 | static struct platform_driver depca_isa_driver = { | 353 | static struct platform_driver depca_isa_driver = { |
354 | .probe = depca_isa_probe, | 354 | .probe = depca_isa_probe, |
355 | .remove = __devexit_p(depca_isa_remove), | 355 | .remove = depca_isa_remove, |
356 | .driver = { | 356 | .driver = { |
357 | .name = depca_string, | 357 | .name = depca_string, |
358 | }, | 358 | }, |
@@ -1320,7 +1320,7 @@ static enum depca_type __init depca_shmem_probe (ulong *mem_start) | |||
1320 | return adapter; | 1320 | return adapter; |
1321 | } | 1321 | } |
1322 | 1322 | ||
1323 | static int __devinit depca_isa_probe (struct platform_device *device) | 1323 | static int depca_isa_probe(struct platform_device *device) |
1324 | { | 1324 | { |
1325 | struct net_device *dev; | 1325 | struct net_device *dev; |
1326 | struct depca_private *lp; | 1326 | struct depca_private *lp; |
@@ -1412,7 +1412,7 @@ static int __init depca_eisa_probe (struct device *device) | |||
1412 | } | 1412 | } |
1413 | #endif | 1413 | #endif |
1414 | 1414 | ||
1415 | static int __devexit depca_device_remove (struct device *device) | 1415 | static int depca_device_remove(struct device *device) |
1416 | { | 1416 | { |
1417 | struct net_device *dev; | 1417 | struct net_device *dev; |
1418 | struct depca_private *lp; | 1418 | struct depca_private *lp; |
diff --git a/drivers/net/ethernet/amd/hplance.c b/drivers/net/ethernet/amd/hplance.c index 8baff4e5d964..705333e0eff9 100644 --- a/drivers/net/ethernet/amd/hplance.c +++ b/drivers/net/ethernet/amd/hplance.c | |||
@@ -46,11 +46,11 @@ struct hplance_private { | |||
46 | * plus board-specific init, open and close actions. | 46 | * plus board-specific init, open and close actions. |
47 | * Oh, and we need to tell the generic code how to read and write LANCE registers... | 47 | * Oh, and we need to tell the generic code how to read and write LANCE registers... |
48 | */ | 48 | */ |
49 | static int __devinit hplance_init_one(struct dio_dev *d, | 49 | static int hplance_init_one(struct dio_dev *d, |
50 | const struct dio_device_id *ent); | 50 | const struct dio_device_id *ent); |
51 | static void __devinit hplance_init(struct net_device *dev, | 51 | static void hplance_init(struct net_device *dev, |
52 | struct dio_dev *d); | 52 | struct dio_dev *d); |
53 | static void __devexit hplance_remove_one(struct dio_dev *d); | 53 | static void hplance_remove_one(struct dio_dev *d); |
54 | static void hplance_writerap(void *priv, unsigned short value); | 54 | static void hplance_writerap(void *priv, unsigned short value); |
55 | static void hplance_writerdp(void *priv, unsigned short value); | 55 | static void hplance_writerdp(void *priv, unsigned short value); |
56 | static unsigned short hplance_readrdp(void *priv); | 56 | static unsigned short hplance_readrdp(void *priv); |
@@ -66,7 +66,7 @@ static struct dio_driver hplance_driver = { | |||
66 | .name = "hplance", | 66 | .name = "hplance", |
67 | .id_table = hplance_dio_tbl, | 67 | .id_table = hplance_dio_tbl, |
68 | .probe = hplance_init_one, | 68 | .probe = hplance_init_one, |
69 | .remove = __devexit_p(hplance_remove_one), | 69 | .remove = hplance_remove_one, |
70 | }; | 70 | }; |
71 | 71 | ||
72 | static const struct net_device_ops hplance_netdev_ops = { | 72 | static const struct net_device_ops hplance_netdev_ops = { |
@@ -83,7 +83,7 @@ static const struct net_device_ops hplance_netdev_ops = { | |||
83 | }; | 83 | }; |
84 | 84 | ||
85 | /* Find all the HP Lance boards and initialise them... */ | 85 | /* Find all the HP Lance boards and initialise them... */ |
86 | static int __devinit hplance_init_one(struct dio_dev *d, | 86 | static int hplance_init_one(struct dio_dev *d, |
87 | const struct dio_device_id *ent) | 87 | const struct dio_device_id *ent) |
88 | { | 88 | { |
89 | struct net_device *dev; | 89 | struct net_device *dev; |
@@ -118,7 +118,7 @@ static int __devinit hplance_init_one(struct dio_dev *d, | |||
118 | return err; | 118 | return err; |
119 | } | 119 | } |
120 | 120 | ||
121 | static void __devexit hplance_remove_one(struct dio_dev *d) | 121 | static void hplance_remove_one(struct dio_dev *d) |
122 | { | 122 | { |
123 | struct net_device *dev = dio_get_drvdata(d); | 123 | struct net_device *dev = dio_get_drvdata(d); |
124 | 124 | ||
@@ -128,7 +128,7 @@ static void __devexit hplance_remove_one(struct dio_dev *d) | |||
128 | } | 128 | } |
129 | 129 | ||
130 | /* Initialise a single lance board at the given DIO device */ | 130 | /* Initialise a single lance board at the given DIO device */ |
131 | static void __devinit hplance_init(struct net_device *dev, struct dio_dev *d) | 131 | static void hplance_init(struct net_device *dev, struct dio_dev *d) |
132 | { | 132 | { |
133 | unsigned long va = (d->resource.start + DIO_VIRADDRBASE); | 133 | unsigned long va = (d->resource.start + DIO_VIRADDRBASE); |
134 | struct hplance_private *lp; | 134 | struct hplance_private *lp; |
diff --git a/drivers/net/ethernet/amd/sunlance.c b/drivers/net/ethernet/amd/sunlance.c index d7a3533d990b..64dbffa0a7e2 100644 --- a/drivers/net/ethernet/amd/sunlance.c +++ b/drivers/net/ethernet/amd/sunlance.c | |||
@@ -1304,7 +1304,7 @@ static const struct net_device_ops sparc_lance_ops = { | |||
1304 | .ndo_validate_addr = eth_validate_addr, | 1304 | .ndo_validate_addr = eth_validate_addr, |
1305 | }; | 1305 | }; |
1306 | 1306 | ||
1307 | static int __devinit sparc_lance_probe_one(struct platform_device *op, | 1307 | static int sparc_lance_probe_one(struct platform_device *op, |
1308 | struct platform_device *ledma, | 1308 | struct platform_device *ledma, |
1309 | struct platform_device *lebuffer) | 1309 | struct platform_device *lebuffer) |
1310 | { | 1310 | { |
@@ -1488,7 +1488,7 @@ fail: | |||
1488 | return -ENODEV; | 1488 | return -ENODEV; |
1489 | } | 1489 | } |
1490 | 1490 | ||
1491 | static int __devinit sunlance_sbus_probe(struct platform_device *op) | 1491 | static int sunlance_sbus_probe(struct platform_device *op) |
1492 | { | 1492 | { |
1493 | struct platform_device *parent = to_platform_device(op->dev.parent); | 1493 | struct platform_device *parent = to_platform_device(op->dev.parent); |
1494 | struct device_node *parent_dp = parent->dev.of_node; | 1494 | struct device_node *parent_dp = parent->dev.of_node; |
@@ -1504,7 +1504,7 @@ static int __devinit sunlance_sbus_probe(struct platform_device *op) | |||
1504 | return err; | 1504 | return err; |
1505 | } | 1505 | } |
1506 | 1506 | ||
1507 | static int __devexit sunlance_sbus_remove(struct platform_device *op) | 1507 | static int sunlance_sbus_remove(struct platform_device *op) |
1508 | { | 1508 | { |
1509 | struct lance_private *lp = dev_get_drvdata(&op->dev); | 1509 | struct lance_private *lp = dev_get_drvdata(&op->dev); |
1510 | struct net_device *net_dev = lp->dev; | 1510 | struct net_device *net_dev = lp->dev; |
@@ -1536,7 +1536,7 @@ static struct platform_driver sunlance_sbus_driver = { | |||
1536 | .of_match_table = sunlance_sbus_match, | 1536 | .of_match_table = sunlance_sbus_match, |
1537 | }, | 1537 | }, |
1538 | .probe = sunlance_sbus_probe, | 1538 | .probe = sunlance_sbus_probe, |
1539 | .remove = __devexit_p(sunlance_sbus_remove), | 1539 | .remove = sunlance_sbus_remove, |
1540 | }; | 1540 | }; |
1541 | 1541 | ||
1542 | module_platform_driver(sunlance_sbus_driver); | 1542 | module_platform_driver(sunlance_sbus_driver); |