From: Wolfram Sang Date: Fri, 17 Jun 2016 08:46:53 +0000 (+0200) Subject: staging: ks7010: function declaration should be in a header file X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30776cf921cd9033d88da56d33707515ce892a8a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: ks7010: function declaration should be in a header file Signed-off-by: Wolfram Sang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index d4cce78106a7..714f933a7d85 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -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; diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index 019c43031d3b..f05dc0122fcb 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -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 */