diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-21 23:00:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-22 02:19:23 -0400 |
commit | 8ab6a1f2e493e2855e188ae9b04d3ee9720fa74f (patch) | |
tree | 7667cd9e5380f66beb9b293576220b457f3270db /drivers/net/ethernet/dec | |
parent | 1eb850c74fa123c02cf8a3c6d6d2a0179491134e (diff) |
net: tulip: 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>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dec')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/de4x5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index 263b92c00cbf..c05b66dfcc30 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c | |||
@@ -2328,7 +2328,7 @@ static void de4x5_pci_remove(struct pci_dev *pdev) | |||
2328 | pci_disable_device (pdev); | 2328 | pci_disable_device (pdev); |
2329 | } | 2329 | } |
2330 | 2330 | ||
2331 | static struct pci_device_id de4x5_pci_tbl[] = { | 2331 | static DEFINE_PCI_DEVICE_TABLE(de4x5_pci_tbl) = { |
2332 | { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP, | 2332 | { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP, |
2333 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, | 2333 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, |
2334 | { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS, | 2334 | { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS, |