From: Jingoo Han Date: Tue, 22 Oct 2013 03:01:47 +0000 (+0900) Subject: net: ksz884x: use DEFINE_PCI_DEVICE_TABLE X-Git-Tag: accepted/tizen/common/20141203.182822~1141^2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a0176da63438f3643a65adb370abf11760ffba9;p=platform%2Fkernel%2Flinux-arm64.git net: ksz884x: use DEFINE_PCI_DEVICE_TABLE This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c index 6462dc5..ddd252a 100644 --- a/drivers/net/ethernet/micrel/ksz884x.c +++ b/drivers/net/ethernet/micrel/ksz884x.c @@ -7225,7 +7225,7 @@ static int pcidev_suspend(struct pci_dev *pdev, pm_message_t state) static char pcidev_name[] = "ksz884xp"; -static struct pci_device_id pcidev_table[] = { +static DEFINE_PCI_DEVICE_TABLE(pcidev_table) = { { PCI_VENDOR_ID_MICREL_KS, 0x8841, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_MICREL_KS, 0x8842,