diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-22 03:01:47 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-22 06:19:23 (GMT) |
commit | 1a0176da63438f3643a65adb370abf11760ffba9 (patch) | |
tree | 6a05bed0ba7f7fff920ef4b54533e15908c732ff /drivers/net/ethernet/micrel/ksz884x.c | |
parent | 8ab6a1f2e493e2855e188ae9b04d3ee9720fa74f (diff) | |
download | linux-1a0176da63438f3643a65adb370abf11760ffba9.tar.xz |
net: ksz884x: use DEFINE_PCI_DEVICE_TABLE
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel/ksz884x.c')
-rw-r--r-- | drivers/net/ethernet/micrel/ksz884x.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |