openwrt/package/kernel/mac80211/patches
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
..
ath mac80211: refresh patches 2023-03-05 01:32:08 +01:00
ath5k mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
ath9k mac80211: ath9k: handle error from copy_to_user in read_file_eeprom 2023-05-12 03:15:36 +02:00
ath10k mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
ath11k mac80211: ath11k: sync with ath-next 2023-05-06 07:15:57 +02:00
brcm mac80211: brcm: fix compilation warning for unused brcmf_of_fwnames 2023-05-12 03:15:37 +02:00
build mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
mwl mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
rt2x00 mac80211: refresh patches 2023-03-05 01:32:08 +01:00
subsys mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00