From: Joe Perches Date: Thu, 14 Oct 2010 09:55:50 +0000 (+0000) Subject: drivers/net/pch_gbe: Use DEFINE_PCI_DEVICE_TABLE X-Git-Tag: MMI-PSA29.97-13-9~21994^2~121 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7fc4463309faa087f5e41569a987d43b1d71b982;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drivers/net/pch_gbe: Use DEFINE_PCI_DEVICE_TABLE Use the standard macro to put this table in __devinitconst. Compiled, untested. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/drivers/net/pch_gbe/pch_gbe_main.c b/drivers/net/pch_gbe/pch_gbe_main.c index e44644f169fd..cf4b49d6c6da 100644 --- a/drivers/net/pch_gbe/pch_gbe_main.c +++ b/drivers/net/pch_gbe/pch_gbe_main.c @@ -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,