summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>2011-12-07 23:04:27 +0100
committerRoland Dreier <roland@purestorage.com>2012-01-04 18:07:24 +0100
commitb0fda90f2a8eeac269833e7ef9e32d199747072b (patch)
tree4b5b500002ad23ff9de6b9d7e8f0dc4477b51807 /drivers/infiniband
parentRDMA/nes: Change MDIO bus clock to 2.5MHz (diff)
downloadlinux-b0fda90f2a8eeac269833e7ef9e32d199747072b.tar.xz
linux-b0fda90f2a8eeac269833e7ef9e32d199747072b.zip
RDMA/nes: Make unnecessarily global nes_set_pau() static
Warned about by sparse. Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com> Signed-off-by: Faisal Latif <Faisal.Latif@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/nes/nes_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_utils.c b/drivers/infiniband/hw/nes/nes_utils.c
index cd10968bfa22..8b4c2ff54888 100644
--- a/drivers/infiniband/hw/nes/nes_utils.c
+++ b/drivers/infiniband/hw/nes/nes_utils.c
@@ -56,7 +56,7 @@ static u16 nes_read16_eeprom(void __iomem *addr, u16 offset);
u32 mh_detected;
u32 mh_pauses_sent;
-u32 nes_set_pau(struct nes_device *nesdev)
+static u32 nes_set_pau(struct nes_device *nesdev)
{
u32 ret = 0;
u32 counter;