diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:01 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:42 -0500 |
commit | 2109eaab72cf95cbb2af51253b46a72e4f2180c9 (patch) | |
tree | a7c7c4dae78f5803d198a4bb03afc172c4b1bc5d | |
parent | c4eef189aaef84612de3961b2681fbf794afca20 (diff) |
cxgb3: 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: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 12 | ||||
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c index 9c9f3260344a..4aa3b21c6f7f 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c +++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | |||
@@ -3078,7 +3078,7 @@ static void set_nqsets(struct adapter *adap) | |||
3078 | } | 3078 | } |
3079 | } | 3079 | } |
3080 | 3080 | ||
3081 | static int __devinit cxgb_enable_msix(struct adapter *adap) | 3081 | static int cxgb_enable_msix(struct adapter *adap) |
3082 | { | 3082 | { |
3083 | struct msix_entry entries[SGE_QSETS + 1]; | 3083 | struct msix_entry entries[SGE_QSETS + 1]; |
3084 | int vectors; | 3084 | int vectors; |
@@ -3108,7 +3108,7 @@ static int __devinit cxgb_enable_msix(struct adapter *adap) | |||
3108 | return err; | 3108 | return err; |
3109 | } | 3109 | } |
3110 | 3110 | ||
3111 | static void __devinit print_port_info(struct adapter *adap, | 3111 | static void print_port_info(struct adapter *adap, |
3112 | const struct adapter_info *ai) | 3112 | const struct adapter_info *ai) |
3113 | { | 3113 | { |
3114 | static const char *pci_variant[] = { | 3114 | static const char *pci_variant[] = { |
@@ -3165,7 +3165,7 @@ static const struct net_device_ops cxgb_netdev_ops = { | |||
3165 | #endif | 3165 | #endif |
3166 | }; | 3166 | }; |
3167 | 3167 | ||
3168 | static void __devinit cxgb3_init_iscsi_mac(struct net_device *dev) | 3168 | static void cxgb3_init_iscsi_mac(struct net_device *dev) |
3169 | { | 3169 | { |
3170 | struct port_info *pi = netdev_priv(dev); | 3170 | struct port_info *pi = netdev_priv(dev); |
3171 | 3171 | ||
@@ -3176,7 +3176,7 @@ static void __devinit cxgb3_init_iscsi_mac(struct net_device *dev) | |||
3176 | #define TSO_FLAGS (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) | 3176 | #define TSO_FLAGS (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) |
3177 | #define VLAN_FEAT (NETIF_F_SG | NETIF_F_IP_CSUM | TSO_FLAGS | \ | 3177 | #define VLAN_FEAT (NETIF_F_SG | NETIF_F_IP_CSUM | TSO_FLAGS | \ |
3178 | NETIF_F_IPV6_CSUM | NETIF_F_HIGHDMA) | 3178 | NETIF_F_IPV6_CSUM | NETIF_F_HIGHDMA) |
3179 | static int __devinit init_one(struct pci_dev *pdev, | 3179 | static int init_one(struct pci_dev *pdev, |
3180 | const struct pci_device_id *ent) | 3180 | const struct pci_device_id *ent) |
3181 | { | 3181 | { |
3182 | static int version_printed; | 3182 | static int version_printed; |
@@ -3381,7 +3381,7 @@ out: | |||
3381 | return err; | 3381 | return err; |
3382 | } | 3382 | } |
3383 | 3383 | ||
3384 | static void __devexit remove_one(struct pci_dev *pdev) | 3384 | static void remove_one(struct pci_dev *pdev) |
3385 | { | 3385 | { |
3386 | struct adapter *adapter = pci_get_drvdata(pdev); | 3386 | struct adapter *adapter = pci_get_drvdata(pdev); |
3387 | 3387 | ||
@@ -3425,7 +3425,7 @@ static struct pci_driver driver = { | |||
3425 | .name = DRV_NAME, | 3425 | .name = DRV_NAME, |
3426 | .id_table = cxgb3_pci_tbl, | 3426 | .id_table = cxgb3_pci_tbl, |
3427 | .probe = init_one, | 3427 | .probe = init_one, |
3428 | .remove = __devexit_p(remove_one), | 3428 | .remove = remove_one, |
3429 | .err_handler = &t3_err_handler, | 3429 | .err_handler = &t3_err_handler, |
3430 | }; | 3430 | }; |
3431 | 3431 | ||
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c index 2dbbcbb450d3..942dace361d2 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c +++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | |||
@@ -1382,7 +1382,7 @@ static inline int adap2type(struct adapter *adapter) | |||
1382 | return type; | 1382 | return type; |
1383 | } | 1383 | } |
1384 | 1384 | ||
1385 | void __devinit cxgb3_adapter_ofld(struct adapter *adapter) | 1385 | void cxgb3_adapter_ofld(struct adapter *adapter) |
1386 | { | 1386 | { |
1387 | struct t3cdev *tdev = &adapter->tdev; | 1387 | struct t3cdev *tdev = &adapter->tdev; |
1388 | 1388 | ||
@@ -1396,7 +1396,7 @@ void __devinit cxgb3_adapter_ofld(struct adapter *adapter) | |||
1396 | register_tdev(tdev); | 1396 | register_tdev(tdev); |
1397 | } | 1397 | } |
1398 | 1398 | ||
1399 | void __devexit cxgb3_adapter_unofld(struct adapter *adapter) | 1399 | void cxgb3_adapter_unofld(struct adapter *adapter) |
1400 | { | 1400 | { |
1401 | struct t3cdev *tdev = &adapter->tdev; | 1401 | struct t3cdev *tdev = &adapter->tdev; |
1402 | 1402 | ||