summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/efx.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-03-16 07:57:51 +0100
committerDavid S. Miller <davem@davemloft.net>2013-03-17 19:26:40 +0100
commitdebd0034de1f68585ab5d1d3d693d38f19d48e5d (patch)
tree11dd9b2f7db11b23ee3906c1c11c80aa279dffc8 /drivers/net/ethernet/sfc/efx.c
parentnet: fix some typos in netif features (diff)
downloadlinux-debd0034de1f68585ab5d1d3d693d38f19d48e5d.tar.xz
linux-debd0034de1f68585ab5d1d3d693d38f19d48e5d.zip
sfc: make local functions static
Trivial sparse detected functions that should be static. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.c')
-rw-r--r--drivers/net/ethernet/sfc/efx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c
index 78c33249a21b..01b99206139a 100644
--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -2950,8 +2950,8 @@ static const struct dev_pm_ops efx_pm_ops = {
* At this point MMIO and DMA may be disabled.
* Stop the software path and request a slot reset.
*/
-pci_ers_result_t efx_io_error_detected(struct pci_dev *pdev,
- enum pci_channel_state state)
+static pci_ers_result_t efx_io_error_detected(struct pci_dev *pdev,
+ enum pci_channel_state state)
{
pci_ers_result_t status = PCI_ERS_RESULT_RECOVERED;
struct efx_nic *efx = pci_get_drvdata(pdev);
@@ -2986,7 +2986,7 @@ pci_ers_result_t efx_io_error_detected(struct pci_dev *pdev,
}
/* Fake a successfull reset, which will be performed later in efx_io_resume. */
-pci_ers_result_t efx_io_slot_reset(struct pci_dev *pdev)
+static pci_ers_result_t efx_io_slot_reset(struct pci_dev *pdev)
{
struct efx_nic *efx = pci_get_drvdata(pdev);
pci_ers_result_t status = PCI_ERS_RESULT_RECOVERED;