From: Arend van Spriel Date: Tue, 27 May 2014 10:56:15 +0000 (+0200) Subject: brcmfmac: make chandef_to_chanspec() function static X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~99^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a394eba4bc7ec8741f59fcede6bd3d20ae6488c;p=pandora-kernel.git brcmfmac: make chandef_to_chanspec() function static The function chandef_to_chanspec() was added by brcmfmac: determine chanspec from struct cfg80211_chan_def info The struct cfg80211_chan_def contains additional info to derive the bandwidth and side-band information of the chanspec. This patch adds chandef_to_chanspec() function used in IBSS join and starting AP operation. However, it introduced a sparse warning because the function is only called from within the source file wl_cfg80211.c. Reported-by: Fengguang Wu Reviewed-by: Daniel (Deognyoun) Kim Reviewed-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed