diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:22:52 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:38 -0500 |
commit | 083abbb7dc16b6b6955ef6f5299bdbff9877363f (patch) | |
tree | d1da878a02c040c61ed99473a661d6d2d90a14cd /drivers/net/ethernet/alteon | |
parent | 4168ac0eb323fa1f886830a19b7f263643bc0cbd (diff) |
acenic: 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: Jes Sorensen <jes@trained-monkey.org>
Cc: linux-acenic@sunsite.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/alteon')
-rw-r--r-- | drivers/net/ethernet/alteon/acenic.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/ethernet/alteon/acenic.c b/drivers/net/ethernet/alteon/acenic.c index 7219123fa0a4..dfddce6342e5 100644 --- a/drivers/net/ethernet/alteon/acenic.c +++ b/drivers/net/ethernet/alteon/acenic.c | |||
@@ -426,7 +426,7 @@ MODULE_PARM_DESC(max_rx_desc, "AceNIC/3C985/GA620 max number of receive descript | |||
426 | MODULE_PARM_DESC(tx_ratio, "AceNIC/3C985/GA620 ratio of NIC memory used for TX/RX descriptors (range 0-63)"); | 426 | MODULE_PARM_DESC(tx_ratio, "AceNIC/3C985/GA620 ratio of NIC memory used for TX/RX descriptors (range 0-63)"); |
427 | 427 | ||
428 | 428 | ||
429 | static const char version[] __devinitconst = | 429 | static const char version[] = |
430 | "acenic.c: v0.92 08/05/2002 Jes Sorensen, linux-acenic@SunSITE.dk\n" | 430 | "acenic.c: v0.92 08/05/2002 Jes Sorensen, linux-acenic@SunSITE.dk\n" |
431 | " http://home.cern.ch/~jes/gige/acenic.html\n"; | 431 | " http://home.cern.ch/~jes/gige/acenic.html\n"; |
432 | 432 | ||
@@ -454,7 +454,7 @@ static const struct net_device_ops ace_netdev_ops = { | |||
454 | .ndo_change_mtu = ace_change_mtu, | 454 | .ndo_change_mtu = ace_change_mtu, |
455 | }; | 455 | }; |
456 | 456 | ||
457 | static int __devinit acenic_probe_one(struct pci_dev *pdev, | 457 | static int acenic_probe_one(struct pci_dev *pdev, |
458 | const struct pci_device_id *id) | 458 | const struct pci_device_id *id) |
459 | { | 459 | { |
460 | struct net_device *dev; | 460 | struct net_device *dev; |
@@ -603,7 +603,7 @@ static int __devinit acenic_probe_one(struct pci_dev *pdev, | |||
603 | return -ENODEV; | 603 | return -ENODEV; |
604 | } | 604 | } |
605 | 605 | ||
606 | static void __devexit acenic_remove_one(struct pci_dev *pdev) | 606 | static void acenic_remove_one(struct pci_dev *pdev) |
607 | { | 607 | { |
608 | struct net_device *dev = pci_get_drvdata(pdev); | 608 | struct net_device *dev = pci_get_drvdata(pdev); |
609 | struct ace_private *ap = netdev_priv(dev); | 609 | struct ace_private *ap = netdev_priv(dev); |
@@ -699,7 +699,7 @@ static struct pci_driver acenic_pci_driver = { | |||
699 | .name = "acenic", | 699 | .name = "acenic", |
700 | .id_table = acenic_pci_tbl, | 700 | .id_table = acenic_pci_tbl, |
701 | .probe = acenic_probe_one, | 701 | .probe = acenic_probe_one, |
702 | .remove = __devexit_p(acenic_remove_one), | 702 | .remove = acenic_remove_one, |
703 | }; | 703 | }; |
704 | 704 | ||
705 | static int __init acenic_init(void) | 705 | static int __init acenic_init(void) |
@@ -871,7 +871,7 @@ static inline void ace_issue_cmd(struct ace_regs __iomem *regs, struct cmd *cmd) | |||
871 | } | 871 | } |
872 | 872 | ||
873 | 873 | ||
874 | static int __devinit ace_init(struct net_device *dev) | 874 | static int ace_init(struct net_device *dev) |
875 | { | 875 | { |
876 | struct ace_private *ap; | 876 | struct ace_private *ap; |
877 | struct ace_regs __iomem *regs; | 877 | struct ace_regs __iomem *regs; |
@@ -2824,7 +2824,7 @@ static struct net_device_stats *ace_get_stats(struct net_device *dev) | |||
2824 | } | 2824 | } |
2825 | 2825 | ||
2826 | 2826 | ||
2827 | static void __devinit ace_copy(struct ace_regs __iomem *regs, const __be32 *src, | 2827 | static void ace_copy(struct ace_regs __iomem *regs, const __be32 *src, |
2828 | u32 dest, int size) | 2828 | u32 dest, int size) |
2829 | { | 2829 | { |
2830 | void __iomem *tdest; | 2830 | void __iomem *tdest; |
@@ -2851,7 +2851,7 @@ static void __devinit ace_copy(struct ace_regs __iomem *regs, const __be32 *src, | |||
2851 | } | 2851 | } |
2852 | 2852 | ||
2853 | 2853 | ||
2854 | static void __devinit ace_clear(struct ace_regs __iomem *regs, u32 dest, int size) | 2854 | static void ace_clear(struct ace_regs __iomem *regs, u32 dest, int size) |
2855 | { | 2855 | { |
2856 | void __iomem *tdest; | 2856 | void __iomem *tdest; |
2857 | short tsize = 0, i; | 2857 | short tsize = 0, i; |
@@ -2882,7 +2882,7 @@ static void __devinit ace_clear(struct ace_regs __iomem *regs, u32 dest, int siz | |||
2882 | * This operation requires the NIC to be halted and is performed with | 2882 | * This operation requires the NIC to be halted and is performed with |
2883 | * interrupts disabled and with the spinlock hold. | 2883 | * interrupts disabled and with the spinlock hold. |
2884 | */ | 2884 | */ |
2885 | static int __devinit ace_load_firmware(struct net_device *dev) | 2885 | static int ace_load_firmware(struct net_device *dev) |
2886 | { | 2886 | { |
2887 | const struct firmware *fw; | 2887 | const struct firmware *fw; |
2888 | const char *fw_name = "acenic/tg2.bin"; | 2888 | const char *fw_name = "acenic/tg2.bin"; |
@@ -2962,7 +2962,7 @@ static int __devinit ace_load_firmware(struct net_device *dev) | |||
2962 | * Thanks to Stevarino Webinski for helping tracking down the bugs in the | 2962 | * Thanks to Stevarino Webinski for helping tracking down the bugs in the |
2963 | * code i2c readout code by beta testing all my hacks. | 2963 | * code i2c readout code by beta testing all my hacks. |
2964 | */ | 2964 | */ |
2965 | static void __devinit eeprom_start(struct ace_regs __iomem *regs) | 2965 | static void eeprom_start(struct ace_regs __iomem *regs) |
2966 | { | 2966 | { |
2967 | u32 local; | 2967 | u32 local; |
2968 | 2968 | ||
@@ -2991,7 +2991,7 @@ static void __devinit eeprom_start(struct ace_regs __iomem *regs) | |||
2991 | } | 2991 | } |
2992 | 2992 | ||
2993 | 2993 | ||
2994 | static void __devinit eeprom_prep(struct ace_regs __iomem *regs, u8 magic) | 2994 | static void eeprom_prep(struct ace_regs __iomem *regs, u8 magic) |
2995 | { | 2995 | { |
2996 | short i; | 2996 | short i; |
2997 | u32 local; | 2997 | u32 local; |
@@ -3028,7 +3028,7 @@ static void __devinit eeprom_prep(struct ace_regs __iomem *regs, u8 magic) | |||
3028 | } | 3028 | } |
3029 | 3029 | ||
3030 | 3030 | ||
3031 | static int __devinit eeprom_check_ack(struct ace_regs __iomem *regs) | 3031 | static int eeprom_check_ack(struct ace_regs __iomem *regs) |
3032 | { | 3032 | { |
3033 | int state; | 3033 | int state; |
3034 | u32 local; | 3034 | u32 local; |
@@ -3056,7 +3056,7 @@ static int __devinit eeprom_check_ack(struct ace_regs __iomem *regs) | |||
3056 | } | 3056 | } |
3057 | 3057 | ||
3058 | 3058 | ||
3059 | static void __devinit eeprom_stop(struct ace_regs __iomem *regs) | 3059 | static void eeprom_stop(struct ace_regs __iomem *regs) |
3060 | { | 3060 | { |
3061 | u32 local; | 3061 | u32 local; |
3062 | 3062 | ||
@@ -3091,7 +3091,7 @@ static void __devinit eeprom_stop(struct ace_regs __iomem *regs) | |||
3091 | /* | 3091 | /* |
3092 | * Read a whole byte from the EEPROM. | 3092 | * Read a whole byte from the EEPROM. |
3093 | */ | 3093 | */ |
3094 | static int __devinit read_eeprom_byte(struct net_device *dev, | 3094 | static int read_eeprom_byte(struct net_device *dev, |
3095 | unsigned long offset) | 3095 | unsigned long offset) |
3096 | { | 3096 | { |
3097 | struct ace_private *ap = netdev_priv(dev); | 3097 | struct ace_private *ap = netdev_priv(dev); |