e1000e: Cleanup use of deprecated DEFINE_PCI_DEVICE_TABLE
authorDavid Ertman <davidx.m.ertman@intel.com>
Tue, 8 Apr 2014 22:10:31 +0000 (22:10 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 23 Apr 2014 08:14:51 +0000 (01:14 -0700)
Signed-off-by: Dave Ertman <davidx.m.ertman@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c

index 90077e8955a71fd7d9dcf67e2f8e6ae8f7d3c6d4..1d32c9742461bf92532edd2d5e55174343a21b31 100644 (file)
@@ -7039,7 +7039,7 @@ static const struct pci_error_handlers e1000_err_handler = {
        .resume = e1000_io_resume,
 };
 
-static DEFINE_PCI_DEVICE_TABLE(e1000_pci_tbl) = {
+static const struct pci_device_id e1000_pci_tbl[] = {
        { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_COPPER), board_82571 },
        { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_FIBER), board_82571 },
        { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER), board_82571 },