staging: vt6655: Declare vnt_init() static
authorSören Brinkmann <soeren.brinkmann@gmail.com>
Fri, 5 Dec 2014 04:33:41 +0000 (20:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jan 2015 03:34:48 +0000 (19:34 -0800)
Fix sparse warning:
  drivers/staging/vt6655/device_main.c:1672:5: warning: symbol 'vnt_init' was not declared. Should it be static?

Signed-off-by: Sören Brinkmann <soeren.brinkmann@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c

index 83e4162c0094c4b2bed6853bc8cfb5636011191a..a3f5cd84259ad81d556d8e77e72dcc3a89aecc9d 100644 (file)
@@ -1669,7 +1669,7 @@ static const struct ieee80211_ops vnt_mac_ops = {
        .reset_tsf              = vnt_reset_tsf,
 };
 
-int vnt_init(struct vnt_private *priv)
+static int vnt_init(struct vnt_private *priv)
 {
        SET_IEEE80211_PERM_ADDR(priv->hw, priv->abyCurrentNetAddr);