mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 19:24:01 -04:00
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 <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8e602ce298
commit
7fc4463309
@@ -2394,7 +2394,7 @@ static int pch_gbe_probe(struct pci_dev *pdev,
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user