forked from mirror/openwrt
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>
|
||
|---|---|---|
| .. | ||
| 040-brcmutil_option.patch | ||
| 810-b43-gpio-mask-module-option.patch | ||
| 811-b43_no_pio.patch | ||
| 812-b43-add-antenna-control.patch | ||
| 813-b43-reduce-number-of-RX-slots.patch | ||
| 814-b43-only-use-gpio-0-1-for-led.patch | ||
| 815-b43-always-take-overlapping-devs.patch | ||
| 850-brcmsmac-remove-extra-regulation-restriction.patch | ||
| 860-brcmfmac-register-wiphy-s-during-module_init.patch | ||
| 861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch | ||
| 862-brcmfmac-Disable-power-management.patch | ||
| 863-brcmfmac-add-in-driver-tables-with-country-codes.patch | ||
| 864-brcmfmac-do-not-use-internal-roaming-engine-by-default.patch | ||
| 865-brcmfmac-Read-alternative-firmware-names-from-DT.patch | ||