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/net/ethernet/amd/a2065.c | |
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/net/ethernet/amd/a2065.c')
-rw-r--r-- | drivers/net/ethernet/amd/a2065.c | 12 |
1 files changed, 6 insertions, 6 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 | ||