libertas: fix non static symbol warning
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> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -2044,7 +2044,7 @@ static int lbs_leave_ibss(struct wiphy *wiphy, struct net_device *dev)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
int lbs_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
|
static int lbs_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
|
||||||
bool enabled, int timeout)
|
bool enabled, int timeout)
|
||||||
{
|
{
|
||||||
struct lbs_private *priv = wiphy_priv(wiphy);
|
struct lbs_private *priv = wiphy_priv(wiphy);
|
||||||
|
|||||||
Reference in New Issue
Block a user