openwrt/target/linux/generic/files/drivers/platform/mikrotik
Mieczyslaw Nalewaj 6b37b04f90 platform/mikrotik: adjust hc_wlan read-callback for 6.18
Include <linux/version.h> and use preprocessor checks to select the appropriate
prototype and definition for hc_wlan_data_bin_read. The third parameter of bin_attribute
read callbacks was changed to 'const struct bin_attribute *' in Linux 6.18; this
change prevents compilation errors on newer kernels while preserving compatibility
with older ones

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21078
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-28 11:51:10 +01:00
..
Kconfig generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
Makefile generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
rb_hardconfig.c platform/mikrotik: adjust hc_wlan read-callback for 6.18 2026-03-28 11:51:10 +01:00
rb_hardconfig.h generic: platform/mikrotik: move hard config tag ID-s to a header 2024-06-20 15:53:55 +02:00
rb_lz77.c generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
rb_lz77.h generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
rb_nvmem.c generic: platform/mikrotik: add NVMEM layout driver 2024-06-20 15:53:55 +02:00
rb_softconfig.c
routerboot.c
routerboot.h generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00