diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-12 15:54:10 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-12 15:54:10 -0400 |
commit | 1959ec5f82acbdf91425b41600f119ebecb5f6a8 (patch) | |
tree | b54bc758f10632e991a3a80a94b05f3940b6651c /drivers/net/ethernet/mellanox/mlx4 | |
parent | a63ab613ff48c593f4e9ace2d111978e35a202e4 (diff) | |
parent | 1d3520357df99baf4ad89f86268ac96cd38092d9 (diff) |
Merge branch 'pci/stephen-const' into next
* pci/stephen-const:
make drivers with pci error handlers const
scsi: make pci error handlers const
netdev: make pci_error_handlers const
PCI: Make pci_error_handlers const
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/main.c | 2 |
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 48d0e90194cb..d89e89b415cf 100644 --- a/drivers/net/ethernet/mellanox/mlx4/main.c +++ b/drivers/net/ethernet/mellanox/mlx4/main.c | |||
@@ -2301,7 +2301,7 @@ static pci_ers_result_t mlx4_pci_slot_reset(struct pci_dev *pdev) | |||
2301 | return ret ? PCI_ERS_RESULT_DISCONNECT : PCI_ERS_RESULT_RECOVERED; | 2301 | return ret ? PCI_ERS_RESULT_DISCONNECT : PCI_ERS_RESULT_RECOVERED; |
2302 | } | 2302 | } |
2303 | 2303 | ||
2304 | static struct pci_error_handlers mlx4_err_handler = { | 2304 | static const struct pci_error_handlers mlx4_err_handler = { |
2305 | .error_detected = mlx4_pci_err_detected, | 2305 | .error_detected = mlx4_pci_err_detected, |
2306 | .slot_reset = mlx4_pci_slot_reset, | 2306 | .slot_reset = mlx4_pci_slot_reset, |
2307 | }; | 2307 | }; |