Skip to content

Commit

Permalink
drivers/net/pch_gbe: Use DEFINE_PCI_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed Oct 17, 2010
1 parent 8e602ce commit 7fc4463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/pch_gbe/pch_gbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7fc4463

Please sign in to comment.