aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/3com
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:22:49 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:20 -0500
commit21cf689b16afa08fe8b02dfadaea88500d6c73c6 (patch)
tree43b3a9c624ef3e64917311a8b1d86ecb2393aa33 /drivers/net/ethernet/3com
parent3f6db0f38f2a170b4d9d5a7e3c329ab7701cd0cb (diff)
typhoon: 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> Cc: David Dillow <dave@thedillows.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/3com')
-rw-r--r--drivers/net/ethernet/3com/typhoon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/3com/typhoon.c b/drivers/net/ethernet/3com/typhoon.c
index bb9670f29b59..27aaaf99e73e 100644
--- a/drivers/net/ethernet/3com/typhoon.c
+++ b/drivers/net/ethernet/3com/typhoon.c
@@ -168,7 +168,7 @@ enum typhoon_cards {
168}; 168};
169 169
170/* directly indexed by enum typhoon_cards, above */ 170/* directly indexed by enum typhoon_cards, above */
171static struct typhoon_card_info typhoon_card_info[] __devinitdata = { 171static struct typhoon_card_info typhoon_card_info[] = {
172 { "3Com Typhoon (3C990-TX)", 172 { "3Com Typhoon (3C990-TX)",
173 TYPHOON_CRYPTO_NONE}, 173 TYPHOON_CRYPTO_NONE},
174 { "3Com Typhoon (3CR990-TX-95)", 174 { "3Com Typhoon (3CR990-TX-95)",
@@ -2200,7 +2200,7 @@ need_resume:
2200} 2200}
2201#endif 2201#endif
2202 2202
2203static int __devinit 2203static int
2204typhoon_test_mmio(struct pci_dev *pdev) 2204typhoon_test_mmio(struct pci_dev *pdev)
2205{ 2205{
2206 void __iomem *ioaddr = pci_iomap(pdev, 1, 128); 2206 void __iomem *ioaddr = pci_iomap(pdev, 1, 128);
@@ -2258,7 +2258,7 @@ static const struct net_device_ops typhoon_netdev_ops = {
2258 .ndo_change_mtu = eth_change_mtu, 2258 .ndo_change_mtu = eth_change_mtu,
2259}; 2259};
2260 2260
2261static int __devinit 2261static int
2262typhoon_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) 2262typhoon_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
2263{ 2263{
2264 struct net_device *dev; 2264 struct net_device *dev;
@@ -2509,7 +2509,7 @@ error_out:
2509 return err; 2509 return err;
2510} 2510}
2511 2511
2512static void __devexit 2512static void
2513typhoon_remove_one(struct pci_dev *pdev) 2513typhoon_remove_one(struct pci_dev *pdev)
2514{ 2514{
2515 struct net_device *dev = pci_get_drvdata(pdev); 2515 struct net_device *dev = pci_get_drvdata(pdev);
@@ -2533,7 +2533,7 @@ static struct pci_driver typhoon_driver = {
2533 .name = KBUILD_MODNAME, 2533 .name = KBUILD_MODNAME,
2534 .id_table = typhoon_pci_tbl, 2534 .id_table = typhoon_pci_tbl,
2535 .probe = typhoon_init_one, 2535 .probe = typhoon_init_one,
2536 .remove = __devexit_p(typhoon_remove_one), 2536 .remove = typhoon_remove_one,
2537#ifdef CONFIG_PM 2537#ifdef CONFIG_PM
2538 .suspend = typhoon_suspend, 2538 .suspend = typhoon_suspend,
2539 .resume = typhoon_resume, 2539 .resume = typhoon_resume,