]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
RDMA/nes: Make unnecessarily global nes_set_pau() static
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Wed, 7 Dec 2011 22:04:27 +0000 (16:04 -0600)
committerRoland Dreier <roland@purestorage.com>
Wed, 4 Jan 2012 17:07:24 +0000 (09:07 -0800)
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>
drivers/infiniband/hw/nes/nes_utils.c

index cd10968bfa22efbd04736b64172fb5b44d65df0d..8b4c2ff548887e967c567a600e50c828aa7946d8 100644 (file)
@@ -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;