From: Wei Yongjun Date: Tue, 12 Jul 2016 11:32:19 +0000 (+0000) Subject: libertas: fix non static symbol warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=83d58d53e062aad0f9dfbb68780bfaebf4e8bafe;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/marvell/libertas/cfg.c b/drivers/net/wireless/marvell/libertas/cfg.c index ea4802446618..7ff2efadceca 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);