openwrt/package/kernel/mac80211
Shiji Yang bad441ae4e mac80211: rt2x00: fix build warnings on 6.12 kernel
Move rt2x00lib_read_eeprom() function prototype from rt2800lib.h to
rt2x00.h and make rt6352_enable_pa_pin() static to fix the missing
prototypes warnings:

/workspaces/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mac80211-regular/backports-6.12.6/drivers/net/wireless/ralink/rt2x00/rt2x00eeprom.c:213:5: error: no previous prototype for 'rt2x00lib_read_eeprom' [-Werror=missing-prototypes]
  213 | int rt2x00lib_read_eeprom(struct rt2x00_dev *rt2x00dev)
      |     ^~~~~~~~~~~~~~~~~~~~~
/workspaces/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mac80211-regular/backports-6.12.6/drivers/net/wireless/ralink/rt2x00/rt2800lib.c:308:6: error: no previous prototype for 'rt6352_enable_pa_pin' [-Werror=missing-prototypes]
  308 | void rt6352_enable_pa_pin(struct rt2x00_dev *rt2x00dev, int enable)
      |      ^~~~~~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-03 20:16:25 +02:00
..
patches mac80211: rt2x00: fix build warnings on 6.12 kernel 2025-05-03 20:16:25 +02:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk mac80211: mark ath12k 80211BE capable 2024-10-03 12:55:23 +02:00
broadcom.mk mac80211: enable CONFIG_BRCMFMAC_SDIO for stm32 2024-11-23 15:53:21 +01:00
intel.mk packages: remove kernel 5.15 remnants 2024-09-20 11:16:02 +02:00
Makefile Revert "mac80211: remove ath9k_platform_data" 2025-01-01 11:22:40 +01:00
marvell.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
ralink.mk mac80211: reintroduce rt61/rt73 support 2024-10-29 00:07:53 +01:00
realtek.mk mac80211: realtek: add RTL8812au/RTL8821au support 2024-11-30 17:38:44 +01:00