skge: 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: Mirko Lindner <mlindner@marvell.com> Cc: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
fe17dc1e2b
commit
853e3f4c5f
@@ -3860,7 +3860,7 @@ static struct net_device *skge_devinit(struct skge_hw *hw, int port,
|
||||
return dev;
|
||||
}
|
||||
|
||||
static void __devinit skge_show_addr(struct net_device *dev)
|
||||
static void skge_show_addr(struct net_device *dev)
|
||||
{
|
||||
const struct skge_port *skge = netdev_priv(dev);
|
||||
|
||||
@@ -3869,7 +3869,7 @@ static void __devinit skge_show_addr(struct net_device *dev)
|
||||
|
||||
static int only_32bit_dma;
|
||||
|
||||
static int __devinit skge_probe(struct pci_dev *pdev,
|
||||
static int skge_probe(struct pci_dev *pdev,
|
||||
const struct pci_device_id *ent)
|
||||
{
|
||||
struct net_device *dev, *dev1;
|
||||
@@ -4012,7 +4012,7 @@ err_out:
|
||||
return err;
|
||||
}
|
||||
|
||||
static void __devexit skge_remove(struct pci_dev *pdev)
|
||||
static void skge_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct skge_hw *hw = pci_get_drvdata(pdev);
|
||||
struct net_device *dev0, *dev1;
|
||||
@@ -4142,7 +4142,7 @@ static struct pci_driver skge_driver = {
|
||||
.name = DRV_NAME,
|
||||
.id_table = skge_id_table,
|
||||
.probe = skge_probe,
|
||||
.remove = __devexit_p(skge_remove),
|
||||
.remove = skge_remove,
|
||||
.shutdown = skge_shutdown,
|
||||
.driver.pm = SKGE_PM_OPS,
|
||||
};
|
||||
|
Reference in New Issue
Block a user