Message ID | 1468323139-1756-1-git-send-email-weiyj_lk@163.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 83d58d53e062aad0f9dfbb68780bfaebf4e8bafe |
Delegated to: | Kalle Valo |
Headers | show |
weiyj_lk@163.com wrote: > 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> Thanks, 1 patch applied to wireless-drivers-next.git: 83d58d53e062 libertas: fix non static symbol warning
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);