mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-11-09 17:34:27 -05:00
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>
|
||
|---|---|---|
| .. | ||
| files | ||
| patches | ||
| scripts | ||
| ath.mk | ||
| broadcom.mk | ||
| intel.mk | ||
| Makefile | ||
| marvell.mk | ||
| ralink.mk | ||
| realtek.mk | ||