openwrt/package/kernel/mac80211/patches/brcm
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
..
040-brcmutil_option.patch mac80211: Update to version 5.2-rc7 2019-07-18 00:22:04 +02:00
810-b43-gpio-mask-module-option.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
811-b43_no_pio.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
812-b43-add-antenna-control.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
813-b43-reduce-number-of-RX-slots.patch mac80211: update to version based on 4.19-rc4 2018-09-26 16:39:44 +02:00
814-b43-only-use-gpio-0-1-for-led.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
815-b43-always-take-overlapping-devs.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
850-brcmsmac-remove-extra-regulation-restriction.patch
860-brcmfmac-register-wiphy-s-during-module_init.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
862-brcmfmac-Disable-power-management.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
863-brcmfmac-add-in-driver-tables-with-country-codes.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
864-brcmfmac-do-not-use-internal-roaming-engine-by-default.patch mac80211: brcm: backport first set of 5.4 brcmfmac changes 2019-07-21 11:26:06 +02:00
865-brcmfmac-Read-alternative-firmware-names-from-DT.patch mac80211: brcm: fix compilation warning for unused brcmf_of_fwnames 2023-05-12 03:15:37 +02:00