]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wlcore: fix sparse warnings related to static functions
authorArik Nemtsov <arik@wizery.com>
Tue, 15 May 2012 14:08:51 +0000 (17:08 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 14:16:08 +0000 (17:16 +0300)
The "static" modifier was mistakenly forgotten for some functions.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c

index 2e9b3cb6e07446be52f36047f2a3b3cf991cd5b9..31cd4cc3c1b2fd4021b8274762d975b9ed6c5869 100644 (file)
@@ -1098,7 +1098,7 @@ static struct ieee80211_sta_ht_cap wl18xx_mimo_ht_cap = {
                },
 };
 
-int __devinit wl18xx_probe(struct platform_device *pdev)
+static int __devinit wl18xx_probe(struct platform_device *pdev)
 {
        struct wl1271 *wl;
        struct ieee80211_hw *hw;