Browse Source

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>
Tatyana Nikolova 13 years ago
parent
commit
b0fda90f2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/infiniband/hw/nes/nes_utils.c

+ 1 - 1
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;