Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ad888c6 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

dscc4: 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: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a4751a3
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -707,7 +707,7 @@ static void dscc4_free1(struct pci_dev *pdev)
	kfree(ppriv);
	kfree(ppriv);
}
}


static int __devinit dscc4_init_one(struct pci_dev *pdev,
static int dscc4_init_one(struct pci_dev *pdev,
				  const struct pci_device_id *ent)
				  const struct pci_device_id *ent)
{
{
	struct dscc4_pci_priv *priv;
	struct dscc4_pci_priv *priv;
@@ -1968,7 +1968,7 @@ static int dscc4_init_ring(struct net_device *dev)
	return -ENOMEM;
	return -ENOMEM;
}
}


static void __devexit dscc4_remove_one(struct pci_dev *pdev)
static void dscc4_remove_one(struct pci_dev *pdev)
{
{
	struct dscc4_pci_priv *ppriv;
	struct dscc4_pci_priv *ppriv;
	struct dscc4_dev_priv *root;
	struct dscc4_dev_priv *root;
@@ -2053,7 +2053,7 @@ static struct pci_driver dscc4_driver = {
	.name		= DRV_NAME,
	.name		= DRV_NAME,
	.id_table	= dscc4_pci_tbl,
	.id_table	= dscc4_pci_tbl,
	.probe		= dscc4_init_one,
	.probe		= dscc4_init_one,
	.remove		= __devexit_p(dscc4_remove_one),
	.remove		= dscc4_remove_one,
};
};


module_pci_driver(dscc4_driver);
module_pci_driver(dscc4_driver);