aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:24:25 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:17:07 -0500
commit9f9a12f8ca79839c948464a37c5b557808278708 (patch)
tree133a5c18268d8154e3fdb753f1f4049293cdb0d1 /drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
parent0329aba13791ec256dacdfdc74eca8673f6dd2e8 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index f267c003a1bc..1e2f02ac268d 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -2009,7 +2009,7 @@ static void ixgbevf_clear_interrupt_scheme(struct ixgbevf_adapter *adapter)
2009 * Fields are initialized based on PCI device information and 2009 * Fields are initialized based on PCI device information and
2010 * OS network device settings (MTU size). 2010 * OS network device settings (MTU size).
2011 **/ 2011 **/
2012static int __devinit ixgbevf_sw_init(struct ixgbevf_adapter *adapter) 2012static int ixgbevf_sw_init(struct ixgbevf_adapter *adapter)
2013{ 2013{
2014 struct ixgbe_hw *hw = &adapter->hw; 2014 struct ixgbe_hw *hw = &adapter->hw;
2015 struct pci_dev *pdev = adapter->pdev; 2015 struct pci_dev *pdev = adapter->pdev;
@@ -3242,7 +3242,7 @@ static void ixgbevf_assign_netdev_ops(struct net_device *dev)
3242 * The OS initialization, configuring of the adapter private structure, 3242 * The OS initialization, configuring of the adapter private structure,
3243 * and a hardware reset occur. 3243 * and a hardware reset occur.
3244 **/ 3244 **/
3245static int __devinit ixgbevf_probe(struct pci_dev *pdev, 3245static int ixgbevf_probe(struct pci_dev *pdev,
3246 const struct pci_device_id *ent) 3246 const struct pci_device_id *ent)
3247{ 3247{
3248 struct net_device *netdev; 3248 struct net_device *netdev;
@@ -3414,7 +3414,7 @@ err_dma:
3414 * Hot-Plug event, or because the driver is going to be removed from 3414 * Hot-Plug event, or because the driver is going to be removed from
3415 * memory. 3415 * memory.
3416 **/ 3416 **/
3417static void __devexit ixgbevf_remove(struct pci_dev *pdev) 3417static void ixgbevf_remove(struct pci_dev *pdev)
3418{ 3418{
3419 struct net_device *netdev = pci_get_drvdata(pdev); 3419 struct net_device *netdev = pci_get_drvdata(pdev);
3420 struct ixgbevf_adapter *adapter = netdev_priv(netdev); 3420 struct ixgbevf_adapter *adapter = netdev_priv(netdev);
@@ -3528,7 +3528,7 @@ static struct pci_driver ixgbevf_driver = {
3528 .name = ixgbevf_driver_name, 3528 .name = ixgbevf_driver_name,
3529 .id_table = ixgbevf_pci_tbl, 3529 .id_table = ixgbevf_pci_tbl,
3530 .probe = ixgbevf_probe, 3530 .probe = ixgbevf_probe,
3531 .remove = __devexit_p(ixgbevf_remove), 3531 .remove = ixgbevf_remove,
3532#ifdef CONFIG_PM 3532#ifdef CONFIG_PM
3533 /* Power Management Hooks */ 3533 /* Power Management Hooks */
3534 .suspend = ixgbevf_suspend, 3534 .suspend = ixgbevf_suspend,