aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igbvf
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/igbvf
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/igbvf')
-rw-r--r--drivers/net/ethernet/intel/igbvf/netdev.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c b/drivers/net/ethernet/intel/igbvf/netdev.c
index 3d92ad8cdca1..b494309ee942 100644
--- a/drivers/net/ethernet/intel/igbvf/netdev.c
+++ b/drivers/net/ethernet/intel/igbvf/netdev.c
@@ -1098,7 +1098,7 @@ out:
1098 * igbvf_alloc_queues - Allocate memory for all rings 1098 * igbvf_alloc_queues - Allocate memory for all rings
1099 * @adapter: board private structure to initialize 1099 * @adapter: board private structure to initialize
1100 **/ 1100 **/
1101static int __devinit igbvf_alloc_queues(struct igbvf_adapter *adapter) 1101static int igbvf_alloc_queues(struct igbvf_adapter *adapter)
1102{ 1102{
1103 struct net_device *netdev = adapter->netdev; 1103 struct net_device *netdev = adapter->netdev;
1104 1104
@@ -1550,7 +1550,7 @@ void igbvf_reinit_locked(struct igbvf_adapter *adapter)
1550 * Fields are initialized based on PCI device information and 1550 * Fields are initialized based on PCI device information and
1551 * OS network device settings (MTU size). 1551 * OS network device settings (MTU size).
1552 **/ 1552 **/
1553static int __devinit igbvf_sw_init(struct igbvf_adapter *adapter) 1553static int igbvf_sw_init(struct igbvf_adapter *adapter)
1554{ 1554{
1555 struct net_device *netdev = adapter->netdev; 1555 struct net_device *netdev = adapter->netdev;
1556 s32 rc; 1556 s32 rc;
@@ -2618,7 +2618,7 @@ static const struct net_device_ops igbvf_netdev_ops = {
2618 * The OS initialization, configuring of the adapter private structure, 2618 * The OS initialization, configuring of the adapter private structure,
2619 * and a hardware reset occur. 2619 * and a hardware reset occur.
2620 **/ 2620 **/
2621static int __devinit igbvf_probe(struct pci_dev *pdev, 2621static int igbvf_probe(struct pci_dev *pdev,
2622 const struct pci_device_id *ent) 2622 const struct pci_device_id *ent)
2623{ 2623{
2624 struct net_device *netdev; 2624 struct net_device *netdev;
@@ -2818,7 +2818,7 @@ err_dma:
2818 * Hot-Plug event, or because the driver is going to be removed from 2818 * Hot-Plug event, or because the driver is going to be removed from
2819 * memory. 2819 * memory.
2820 **/ 2820 **/
2821static void __devexit igbvf_remove(struct pci_dev *pdev) 2821static void igbvf_remove(struct pci_dev *pdev)
2822{ 2822{
2823 struct net_device *netdev = pci_get_drvdata(pdev); 2823 struct net_device *netdev = pci_get_drvdata(pdev);
2824 struct igbvf_adapter *adapter = netdev_priv(netdev); 2824 struct igbvf_adapter *adapter = netdev_priv(netdev);
@@ -2875,7 +2875,7 @@ static struct pci_driver igbvf_driver = {
2875 .name = igbvf_driver_name, 2875 .name = igbvf_driver_name,
2876 .id_table = igbvf_pci_tbl, 2876 .id_table = igbvf_pci_tbl,
2877 .probe = igbvf_probe, 2877 .probe = igbvf_probe,
2878 .remove = __devexit_p(igbvf_remove), 2878 .remove = igbvf_remove,
2879#ifdef CONFIG_PM 2879#ifdef CONFIG_PM
2880 /* Power Management Hooks */ 2880 /* Power Management Hooks */
2881 .suspend = igbvf_suspend, 2881 .suspend = igbvf_suspend,