openwrt/package/kernel/mac80211
Christian Marangi b545df5cfd
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>
2023-05-12 03:15:37 +02:00
..
files mac80211: use 802.11ax iw modes 2023-01-28 13:53:39 +01:00
patches mac80211: brcm: fix compilation warning for unused brcmf_of_fwnames 2023-05-12 03:15:37 +02:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk mac80211: enable ATH9K_HWRNG 2023-03-05 19:13:22 +01:00
broadcom.mk mac80211: b43: only enable bcma or ssb on bmips 2023-04-23 12:18:36 +02:00
intel.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
Makefile mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
marvell.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
ralink.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
realtek.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00