summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-10-22 11:59:02 +0900
committerDavid S. Miller <davem@davemloft.net>2013-10-22 02:19:23 -0400
commit1eb850c74fa123c02cf8a3c6d6d2a0179491134e (patch)
treec26b05d022d9f2bdad84f5fa8bc876a71e9288d9 /drivers/net/ethernet/chelsio
parent1b138131707670063f76e9a6edcb1c0a08031a28 (diff)
downloadblackbird-op-linux-1eb850c74fa123c02cf8a3c6d6d2a0179491134e.tar.gz
blackbird-op-linux-1eb850c74fa123c02cf8a3c6d6d2a0179491134e.zip
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/net/ethernet/chelsio')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c2
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)
#define CH_DEVICE(devid, idx) \
{ PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, idx }
-static struct pci_device_id cxgb4vf_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(cxgb4vf_pci_tbl) = {
CH_DEVICE(0xb000, 0), /* PE10K FPGA */
CH_DEVICE(0x4800, 0), /* T440-dbg */
CH_DEVICE(0x4801, 0), /* T420-cr */
OpenPOWER on IntegriCloud