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> |
||
|---|---|---|
| .. | ||
| arch/mips/fw/myloader | ||
| Documentation | ||
| drivers | ||
| include | ||