diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:22:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:41 -0500 |
commit | cfd95a634f49358ab8d2a759c637fef0b50e7583 (patch) | |
tree | 9f0bfa6c754f27bf8a41a7caffb4b051dc67fad8 /drivers/net/ethernet/broadcom | |
parent | 239718871072b45370816cf272ea29c0d34b3d12 (diff) |
bnx2: 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: Michael Chan <mchan@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index d4310700c7a7..e264e960a762 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c | |||
@@ -71,7 +71,7 @@ | |||
71 | /* Time in jiffies before concluding the transmitter is hung. */ | 71 | /* Time in jiffies before concluding the transmitter is hung. */ |
72 | #define TX_TIMEOUT (5*HZ) | 72 | #define TX_TIMEOUT (5*HZ) |
73 | 73 | ||
74 | static char version[] __devinitdata = | 74 | static char version[] = |
75 | "Broadcom NetXtreme II Gigabit Ethernet Driver " DRV_MODULE_NAME " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 75 | "Broadcom NetXtreme II Gigabit Ethernet Driver " DRV_MODULE_NAME " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
76 | 76 | ||
77 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com>"); | 77 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com>"); |
@@ -106,7 +106,7 @@ typedef enum { | |||
106 | /* indexed by board_t, above */ | 106 | /* indexed by board_t, above */ |
107 | static struct { | 107 | static struct { |
108 | char *name; | 108 | char *name; |
109 | } board_info[] __devinitdata = { | 109 | } board_info[] = { |
110 | { "Broadcom NetXtreme II BCM5706 1000Base-T" }, | 110 | { "Broadcom NetXtreme II BCM5706 1000Base-T" }, |
111 | { "HP NC370T Multifunction Gigabit Server Adapter" }, | 111 | { "HP NC370T Multifunction Gigabit Server Adapter" }, |
112 | { "HP NC370i Multifunction Gigabit Server Adapter" }, | 112 | { "HP NC370i Multifunction Gigabit Server Adapter" }, |
@@ -7896,7 +7896,7 @@ poll_bnx2(struct net_device *dev) | |||
7896 | } | 7896 | } |
7897 | #endif | 7897 | #endif |
7898 | 7898 | ||
7899 | static void __devinit | 7899 | static void |
7900 | bnx2_get_5709_media(struct bnx2 *bp) | 7900 | bnx2_get_5709_media(struct bnx2 *bp) |
7901 | { | 7901 | { |
7902 | u32 val = REG_RD(bp, BNX2_MISC_DUAL_MEDIA_CTRL); | 7902 | u32 val = REG_RD(bp, BNX2_MISC_DUAL_MEDIA_CTRL); |
@@ -7934,7 +7934,7 @@ bnx2_get_5709_media(struct bnx2 *bp) | |||
7934 | } | 7934 | } |
7935 | } | 7935 | } |
7936 | 7936 | ||
7937 | static void __devinit | 7937 | static void |
7938 | bnx2_get_pci_speed(struct bnx2 *bp) | 7938 | bnx2_get_pci_speed(struct bnx2 *bp) |
7939 | { | 7939 | { |
7940 | u32 reg; | 7940 | u32 reg; |
@@ -7986,7 +7986,7 @@ bnx2_get_pci_speed(struct bnx2 *bp) | |||
7986 | 7986 | ||
7987 | } | 7987 | } |
7988 | 7988 | ||
7989 | static void __devinit | 7989 | static void |
7990 | bnx2_read_vpd_fw_ver(struct bnx2 *bp) | 7990 | bnx2_read_vpd_fw_ver(struct bnx2 *bp) |
7991 | { | 7991 | { |
7992 | int rc, i, j; | 7992 | int rc, i, j; |
@@ -8054,7 +8054,7 @@ vpd_done: | |||
8054 | kfree(data); | 8054 | kfree(data); |
8055 | } | 8055 | } |
8056 | 8056 | ||
8057 | static int __devinit | 8057 | static int |
8058 | bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) | 8058 | bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) |
8059 | { | 8059 | { |
8060 | struct bnx2 *bp; | 8060 | struct bnx2 *bp; |
@@ -8439,7 +8439,7 @@ err_out: | |||
8439 | return rc; | 8439 | return rc; |
8440 | } | 8440 | } |
8441 | 8441 | ||
8442 | static char * __devinit | 8442 | static char * |
8443 | bnx2_bus_string(struct bnx2 *bp, char *str) | 8443 | bnx2_bus_string(struct bnx2 *bp, char *str) |
8444 | { | 8444 | { |
8445 | char *s = str; | 8445 | char *s = str; |
@@ -8505,7 +8505,7 @@ static const struct net_device_ops bnx2_netdev_ops = { | |||
8505 | #endif | 8505 | #endif |
8506 | }; | 8506 | }; |
8507 | 8507 | ||
8508 | static int __devinit | 8508 | static int |
8509 | bnx2_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | 8509 | bnx2_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) |
8510 | { | 8510 | { |
8511 | static int version_printed = 0; | 8511 | static int version_printed = 0; |
@@ -8573,7 +8573,7 @@ err_free: | |||
8573 | return rc; | 8573 | return rc; |
8574 | } | 8574 | } |
8575 | 8575 | ||
8576 | static void __devexit | 8576 | static void |
8577 | bnx2_remove_one(struct pci_dev *pdev) | 8577 | bnx2_remove_one(struct pci_dev *pdev) |
8578 | { | 8578 | { |
8579 | struct net_device *dev = pci_get_drvdata(pdev); | 8579 | struct net_device *dev = pci_get_drvdata(pdev); |
@@ -8752,7 +8752,7 @@ static struct pci_driver bnx2_pci_driver = { | |||
8752 | .name = DRV_MODULE_NAME, | 8752 | .name = DRV_MODULE_NAME, |
8753 | .id_table = bnx2_pci_tbl, | 8753 | .id_table = bnx2_pci_tbl, |
8754 | .probe = bnx2_init_one, | 8754 | .probe = bnx2_init_one, |
8755 | .remove = __devexit_p(bnx2_remove_one), | 8755 | .remove = bnx2_remove_one, |
8756 | .suspend = bnx2_suspend, | 8756 | .suspend = bnx2_suspend, |
8757 | .resume = bnx2_resume, | 8757 | .resume = bnx2_resume, |
8758 | .err_handler = &bnx2_err_handler, | 8758 | .err_handler = &bnx2_err_handler, |