aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/main.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c b/drivers/net/ethernet/mellanox/mlx4/main.c
index 80b8c5f30e4e..110e0205c427 100644
--- a/drivers/net/ethernet/mellanox/mlx4/main.c
+++ b/drivers/net/ethernet/mellanox/mlx4/main.c
@@ -2727,7 +2727,7 @@ int mlx4_restart_one(struct pci_dev *pdev)
2727 return __mlx4_init_one(pdev, pci_dev_data); 2727 return __mlx4_init_one(pdev, pci_dev_data);
2728} 2728}
2729 2729
2730static DEFINE_PCI_DEVICE_TABLE(mlx4_pci_table) = { 2730static const struct pci_device_id mlx4_pci_table[] = {
2731 /* MT25408 "Hermon" SDR */ 2731 /* MT25408 "Hermon" SDR */
2732 { PCI_VDEVICE(MELLANOX, 0x6340), MLX4_PCI_DEV_FORCE_SENSE_PORT }, 2732 { PCI_VDEVICE(MELLANOX, 0x6340), MLX4_PCI_DEV_FORCE_SENSE_PORT },
2733 /* MT25408 "Hermon" DDR */ 2733 /* MT25408 "Hermon" DDR */