Skip to content

Commit d05919a

Browse files
wfp5pgregkh
authored andcommitted
forcedeth: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 26735f2 commit d05919a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/net/ethernet/nvidia/forcedeth.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5520,7 +5520,7 @@ static const struct net_device_ops nv_netdev_ops_optimized = {
55205520
#endif
55215521
};
55225522

5523-
static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_id *id)
5523+
static int nv_probe(struct pci_dev *pci_dev, const struct pci_device_id *id)
55245524
{
55255525
struct net_device *dev;
55265526
struct fe_priv *np;
@@ -5995,7 +5995,7 @@ static void nv_restore_mac_addr(struct pci_dev *pci_dev)
59955995
base + NvRegTransmitPoll);
59965996
}
59975997

5998-
static void __devexit nv_remove(struct pci_dev *pci_dev)
5998+
static void nv_remove(struct pci_dev *pci_dev)
59995999
{
60006000
struct net_device *dev = pci_get_drvdata(pci_dev);
60016001

@@ -6271,7 +6271,7 @@ static struct pci_driver driver = {
62716271
.name = DRV_NAME,
62726272
.id_table = pci_tbl,
62736273
.probe = nv_probe,
6274-
.remove = __devexit_p(nv_remove),
6274+
.remove = nv_remove,
62756275
.shutdown = nv_shutdown,
62766276
.driver.pm = NV_PM_OPS,
62776277
};

0 commit comments

Comments
 (0)