* [PATCH -next] libertas: fix non static symbol warning
@ 2016-07-12 11:32 weiyj_lk
2016-07-18 19:39 ` [-next] " Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: weiyj_lk @ 2016-07-12 11:32 UTC (permalink / raw)
To: Kalle Valo, sudip, Andreas Kemnade
Cc: Wei Yongjun, libertas-dev, linux-wireless
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Fixes the following sparse warning:
drivers/net/wireless/marvell/libertas/cfg.c:2047:5: warning:
symbol 'lbs_set_power_mgmt' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
drivers/net/wireless/marvell/libertas/cfg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/marvell/libertas/cfg.c b/drivers/net/wireless/marvell/libertas/cfg.c
index ea48024..7ff2efa 100644
--- a/drivers/net/wireless/marvell/libertas/cfg.c
+++ b/drivers/net/wireless/marvell/libertas/cfg.c
@@ -2044,8 +2044,8 @@ static int lbs_leave_ibss(struct wiphy *wiphy, struct net_device *dev)
-int lbs_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
- bool enabled, int timeout)
+static int lbs_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
+ bool enabled, int timeout)
{
struct lbs_private *priv = wiphy_priv(wiphy);
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-18 19:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12 11:32 [PATCH -next] libertas: fix non static symbol warning weiyj_lk
2016-07-18 19:39 ` [-next] " Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox