brcmsmac: make function wlc_phy_workarounds_nphy_rev1 static
authorColin Ian King <colin.king@canonical.com>
Sat, 23 Jun 2018 22:15:31 +0000 (23:15 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Jun 2018 15:57:23 +0000 (18:57 +0300)
The function wlc_phy_workarounds_nphy_rev1 is local to the source and
does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'wlc_phy_workarounds_nphy_rev1' was not declared. Should it
be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c

index 1a187557982e6c2d63f9c37e37229cf375ffd135..bedec1606caa40010f51c74c421fd9c5eaa8246a 100644 (file)
@@ -16904,7 +16904,7 @@ static void wlc_phy_workarounds_nphy_rev3(struct brcms_phy *pi)
        }
 }
 
-void wlc_phy_workarounds_nphy_rev1(struct brcms_phy *pi)
+static void wlc_phy_workarounds_nphy_rev1(struct brcms_phy *pi)
 {
        static const u8 rfseq_rx2tx_events[] = {
                NPHY_RFSEQ_CMD_NOP,