drivers/net/pch_gbe: Use DEFINE_PCI_DEVICE_TABLE
authorJoe Perches <joe@perches.com>
Thu, 14 Oct 2010 09:55:50 +0000 (09:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Oct 2010 20:50:50 +0000 (13:50 -0700)
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>
drivers/net/pch_gbe/pch_gbe_main.c

index e44644f169fd2b0e7e8198def7402e436bac8850..cf4b49d6c6da2d96941de995a384e3a8a2e932cd 100644 (file)
@@ -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,