net/intel: 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: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Jesse Brandeburg <jesse.brandeburg@intel.com> Cc: Bruce Allan <bruce.w.allan@intel.com> Cc: Carolyn Wyborny <carolyn.wyborny@intel.com> Cc: Don Skidmore <donald.c.skidmore@intel.com> Cc: Greg Rose <gregory.v.rose@intel.com> Cc: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Cc: Alex Duyck <alexander.h.duyck@intel.com> Cc: John Ronciak <john.ronciak@intel.com> Cc: Tushar Dave <tushar.n.dave@intel.com> Cc: e1000-devel@lists.sourceforge.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

orang tua
0329aba137
melakukan
9f9a12f8ca
@@ -4462,7 +4462,7 @@ static void ixgbe_tx_timeout(struct net_device *netdev)
|
||||
* Fields are initialized based on PCI device information and
|
||||
* OS network device settings (MTU size).
|
||||
**/
|
||||
static int __devinit ixgbe_sw_init(struct ixgbe_adapter *adapter)
|
||||
static int ixgbe_sw_init(struct ixgbe_adapter *adapter)
|
||||
{
|
||||
struct ixgbe_hw *hw = &adapter->hw;
|
||||
struct pci_dev *pdev = adapter->pdev;
|
||||
@@ -7183,7 +7183,7 @@ int ixgbe_wol_supported(struct ixgbe_adapter *adapter, u16 device_id,
|
||||
* The OS initialization, configuring of the adapter private structure,
|
||||
* and a hardware reset occur.
|
||||
**/
|
||||
static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
||||
static int ixgbe_probe(struct pci_dev *pdev,
|
||||
const struct pci_device_id *ent)
|
||||
{
|
||||
struct net_device *netdev;
|
||||
@@ -7590,7 +7590,7 @@ err_dma:
|
||||
* Hot-Plug event, or because the driver is going to be removed from
|
||||
* memory.
|
||||
**/
|
||||
static void __devexit ixgbe_remove(struct pci_dev *pdev)
|
||||
static void ixgbe_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct ixgbe_adapter *adapter = pci_get_drvdata(pdev);
|
||||
struct net_device *netdev = adapter->netdev;
|
||||
@@ -7830,7 +7830,7 @@ static struct pci_driver ixgbe_driver = {
|
||||
.name = ixgbe_driver_name,
|
||||
.id_table = ixgbe_pci_tbl,
|
||||
.probe = ixgbe_probe,
|
||||
.remove = __devexit_p(ixgbe_remove),
|
||||
.remove = ixgbe_remove,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = ixgbe_suspend,
|
||||
.resume = ixgbe_resume,
|
||||
|
Reference in New Issue
Block a user