staging: ks7010: function declaration should be in a header file
authorWolfram Sang <wsa@the-dreams.de>
Fri, 17 Jun 2016 08:46:53 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:45:55 +0000 (19:45 -0700)
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c
drivers/staging/ks7010/ks_wlan.h

index d4cce78106a736d7d754954c4d12124088a7fa29..714f933a7d85e7b2165a41565a9beecfaef0d093 100644 (file)
@@ -958,9 +958,6 @@ static struct sdio_driver ks7010_sdio_driver = {
        .remove = ks7910_sdio_remove,
 };
 
-extern int ks_wlan_net_start(struct net_device *dev);
-extern int ks_wlan_net_stop(struct net_device *dev);
-
 static void ks7010_init_defaults(struct ks_wlan_private *priv)
 {
        priv->reg.tx_rate = TX_RATE_AUTO;
index 019c43031d3b3caa84dabb4ce8aa06aab585d523..f05dc0122fcbd14c220ad1c2692677af5d9cc977 100644 (file)
@@ -499,4 +499,7 @@ struct ks_wlan_private {
        uint wakeup_count;      /* for detect wakeup loop */
 };
 
+extern int ks_wlan_net_start(struct net_device *dev);
+extern int ks_wlan_net_stop(struct net_device *dev);
+
 #endif /* _KS_WLAN_H */