diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-06 19:28:36 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:37 +0200 |
commit | b545df5cfd4a8d4cb6656ac79a5cfc0eed9971c0 (patch) | |
tree | 75637456e5162a3b6fc7935103fa49f697e21c23 /target/linux/ramips/patches-5.10/805-pinctrl-AW9523.patch | |
parent | 5180469394d487b16c3c4756c9bb0a92e94853df (diff) | |
download | upstream-b545df5cfd4a8d4cb6656ac79a5cfc0eed9971c0.tar.gz upstream-b545df5cfd4a8d4cb6656ac79a5cfc0eed9971c0.tar.bz2 upstream-b545df5cfd4a8d4cb6656ac79a5cfc0eed9971c0.zip |
mac80211: brcm: fix compilation warning for unused brcmf_of_fwnames
If CPTCFG_BRCMFMAC_SDIO is not used brcmf_of_fwnames is defined but not
used in the case of CONFIG_OF not compiled.
Restrict brcmf_of_fwnames only with CPTCFG_BRCMFMAC_SDIO selected.
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-x86_64-openwrt-linux-musl_musl/linux-x86_64/backports-6.1.24/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.h:16:1: error: 'brcmf_of_fwnames' defined but not used [-Werror=unused-function]
16 | brcmf_of_fwnames(struct device *dev, u32 *map_count)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-5.10/805-pinctrl-AW9523.patch')
0 files changed, 0 insertions, 0 deletions