diff mbox

[RFC] brcmfmac: brcmf_cfg80211_ops can be static

Message ID 20180318023145.GA29191@intel11 (mailing list archive)
State RFC
Delegated to: Kalle Valo
Headers show

Commit Message

kernel test robot March 18, 2018, 2:31 a.m. UTC
Fixes: 6a5eed240a1c ("brcmfmac: allocate struct brcmf_pub instance using wiphy_new()")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 cfg80211.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
index a47fe23..4133d66 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
@@ -5141,7 +5141,7 @@  static int brcmf_cfg80211_del_pmk(struct wiphy *wiphy, struct net_device *dev,
 	return brcmf_set_pmk(ifp, NULL, 0);
 }
 
-struct cfg80211_ops brcmf_cfg80211_ops = {
+static struct cfg80211_ops brcmf_cfg80211_ops = {
 	.add_virtual_intf = brcmf_cfg80211_add_iface,
 	.del_virtual_intf = brcmf_cfg80211_del_iface,
 	.change_virtual_intf = brcmf_cfg80211_change_iface,