diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:53 -0500 |
commit | 17abe3e4c67bfbf20e870be9c8b4634c12f73018 (patch) | |
tree | bce528a169d7b37bffe42fa1f847935af7c4e0bc /drivers/net/ethernet/tehuti | |
parent | 663e12e61d8764ce342588325d1050d9cb5460c0 (diff) |
tehuti: 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: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/tehuti')
-rw-r--r-- | drivers/net/ethernet/tehuti/tehuti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/tehuti/tehuti.c b/drivers/net/ethernet/tehuti/tehuti.c index 6ce9edd95c04..1e4d743ff03e 100644 --- a/drivers/net/ethernet/tehuti/tehuti.c +++ b/drivers/net/ethernet/tehuti/tehuti.c | |||
@@ -1914,7 +1914,7 @@ static const struct net_device_ops bdx_netdev_ops = { | |||
1914 | */ | 1914 | */ |
1915 | 1915 | ||
1916 | /* TBD: netif_msg should be checked and implemented. I disable it for now */ | 1916 | /* TBD: netif_msg should be checked and implemented. I disable it for now */ |
1917 | static int __devinit | 1917 | static int |
1918 | bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 1918 | bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
1919 | { | 1919 | { |
1920 | struct net_device *ndev; | 1920 | struct net_device *ndev; |
@@ -2427,7 +2427,7 @@ static void bdx_set_ethtool_ops(struct net_device *netdev) | |||
2427 | * Hot-Plug event, or because the driver is going to be removed from | 2427 | * Hot-Plug event, or because the driver is going to be removed from |
2428 | * memory. | 2428 | * memory. |
2429 | **/ | 2429 | **/ |
2430 | static void __devexit bdx_remove(struct pci_dev *pdev) | 2430 | static void bdx_remove(struct pci_dev *pdev) |
2431 | { | 2431 | { |
2432 | struct pci_nic *nic = pci_get_drvdata(pdev); | 2432 | struct pci_nic *nic = pci_get_drvdata(pdev); |
2433 | struct net_device *ndev; | 2433 | struct net_device *ndev; |
@@ -2458,7 +2458,7 @@ static struct pci_driver bdx_pci_driver = { | |||
2458 | .name = BDX_DRV_NAME, | 2458 | .name = BDX_DRV_NAME, |
2459 | .id_table = bdx_pci_tbl, | 2459 | .id_table = bdx_pci_tbl, |
2460 | .probe = bdx_probe, | 2460 | .probe = bdx_probe, |
2461 | .remove = __devexit_p(bdx_remove), | 2461 | .remove = bdx_remove, |
2462 | }; | 2462 | }; |
2463 | 2463 | ||
2464 | /* | 2464 | /* |