Commit 17abe3e4 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

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: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 663e12e6
...@@ -1914,7 +1914,7 @@ static const struct net_device_ops bdx_netdev_ops = { ...@@ -1914,7 +1914,7 @@ static const struct net_device_ops bdx_netdev_ops = {
*/ */
/* TBD: netif_msg should be checked and implemented. I disable it for now */ /* TBD: netif_msg should be checked and implemented. I disable it for now */
static int __devinit static int
bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent) bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{ {
struct net_device *ndev; struct net_device *ndev;
...@@ -2427,7 +2427,7 @@ static void bdx_set_ethtool_ops(struct net_device *netdev) ...@@ -2427,7 +2427,7 @@ static void bdx_set_ethtool_ops(struct net_device *netdev)
* Hot-Plug event, or because the driver is going to be removed from * Hot-Plug event, or because the driver is going to be removed from
* memory. * memory.
**/ **/
static void __devexit bdx_remove(struct pci_dev *pdev) static void bdx_remove(struct pci_dev *pdev)
{ {
struct pci_nic *nic = pci_get_drvdata(pdev); struct pci_nic *nic = pci_get_drvdata(pdev);
struct net_device *ndev; struct net_device *ndev;
...@@ -2458,7 +2458,7 @@ static struct pci_driver bdx_pci_driver = { ...@@ -2458,7 +2458,7 @@ static struct pci_driver bdx_pci_driver = {
.name = BDX_DRV_NAME, .name = BDX_DRV_NAME,
.id_table = bdx_pci_tbl, .id_table = bdx_pci_tbl,
.probe = bdx_probe, .probe = bdx_probe,
.remove = __devexit_p(bdx_remove), .remove = bdx_remove,
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment