1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 14:38:20 +02:00
openwrt/package
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
..
base-files base-files: Do not break on non-eth ports 2023-05-09 22:54:38 +02:00
boot ramips: add support for Linksys RE7000 2023-05-09 11:52:53 +02:00
devel gperf: add from packages feed 2023-05-04 06:07:29 +02:00
firmware ls-rcw: Add ls1028ardb support 2023-05-07 14:50:50 +02:00
kernel mac80211: brcm: fix compilation warning for unused brcmf_of_fwnames 2023-05-12 03:15:37 +02:00
libs gettext-full: bootstrap to local gnulib source 2023-05-04 06:07:31 +02:00
network umbim: allow forcing DHCP/DHCPv6 configuration 2023-05-07 14:36:58 +02:00
system treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
utils busybox: turn on BUSYBOX_DEFAULT_ASH_RANDOM_SUPPORT for having $RANDOM 2023-04-25 22:01:20 +02:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00