diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-21 22:59:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-22 02:19:23 -0400 |
commit | 1eb850c74fa123c02cf8a3c6d6d2a0179491134e (patch) | |
tree | c26b05d022d9f2bdad84f5fa8bc876a71e9288d9 /drivers | |
parent | 1b138131707670063f76e9a6edcb1c0a08031a28 (diff) |
net: cxgb4vf: 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')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c index 43bb0123d456..5f90ec5f7519 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | |||
@@ -2905,7 +2905,7 @@ static void cxgb4vf_pci_shutdown(struct pci_dev *pdev) | |||
2905 | #define CH_DEVICE(devid, idx) \ | 2905 | #define CH_DEVICE(devid, idx) \ |
2906 | { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, idx } | 2906 | { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, idx } |
2907 | 2907 | ||
2908 | static struct pci_device_id cxgb4vf_pci_tbl[] = { | 2908 | static DEFINE_PCI_DEVICE_TABLE(cxgb4vf_pci_tbl) = { |
2909 | CH_DEVICE(0xb000, 0), /* PE10K FPGA */ | 2909 | CH_DEVICE(0xb000, 0), /* PE10K FPGA */ |
2910 | CH_DEVICE(0x4800, 0), /* T440-dbg */ | 2910 | CH_DEVICE(0x4800, 0), /* T440-dbg */ |
2911 | CH_DEVICE(0x4801, 0), /* T420-cr */ | 2911 | CH_DEVICE(0x4801, 0), /* T420-cr */ |