From patchwork Sun Mar 18 02:31:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10291027 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 486DC601BE for ; Sun, 18 Mar 2018 02:32:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BD7428666 for ; Sun, 18 Mar 2018 02:32:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B4D228685; Sun, 18 Mar 2018 02:32:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91AD528537 for ; Sun, 18 Mar 2018 02:32:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752896AbeCRCcY (ORCPT ); Sat, 17 Mar 2018 22:32:24 -0400 Received: from mga02.intel.com ([134.134.136.20]:25155 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752359AbeCRCcW (ORCPT ); Sat, 17 Mar 2018 22:32:22 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Mar 2018 19:32:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,323,1517904000"; d="scan'208";a="38923604" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 17 Mar 2018 19:32:21 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1exO6L-0008Jb-Ha; Sun, 18 Mar 2018 10:31:13 +0800 Date: Sun, 18 Mar 2018 10:31:45 +0800 From: kbuild test robot To: Arend van Spriel Cc: kbuild-all@01.org, Kalle Valo , linux-wireless@vger.kernel.org, Arend van Spriel Subject: [RFC PATCH] brcmfmac: brcmf_cfg80211_ops can be static Message-ID: <20180318023145.GA29191@intel11> References: <1521195085-439-5-git-send-email-arend.vanspriel@broadcom.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1521195085-439-5-git-send-email-arend.vanspriel@broadcom.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 6a5eed240a1c ("brcmfmac: allocate struct brcmf_pub instance using wiphy_new()") Signed-off-by: Fengguang Wu --- cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,