Commit 7fc44633 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

drivers/net/pch_gbe: Use DEFINE_PCI_DEVICE_TABLE



Use the standard macro to put this table in __devinitconst.

Compiled, untested.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e602ce2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2394,7 +2394,7 @@ err_disable_device:
	return ret;
}

static const struct pci_device_id pch_gbe_pcidev_id[] = {
static DEFINE_PCI_DEVICE_TABLE(pch_gbe_pcidev_id) = {
	{.vendor = PCI_VENDOR_ID_INTEL,
	 .device = PCI_DEVICE_ID_INTEL_IOH1_GBE,
	 .subvendor = PCI_ANY_ID,