nl80211 now uses section qualifier __ro_after_init. However, this is not available in kernels before v4.6. Neither is the section itself hence adding an empty define in backports. Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> --- v2: - use ifndef instead of version check - consequently dropped inclusion of version.h --- backport/backport-include/linux/cache.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 backport/backport-include/linux/cache.h diff --git a/backport/backport-include/linux/cache.h b/backport/backport-include/linux/cache.h new file mode 100644 index 0000000..bd7cdcf --- /dev/null +++ b/backport/backport-include/linux/cache.h @@ -0,0 +1,10 @@ +#ifndef _BACKPORT_CACHE_H +#define _BACKPORT_CACHE_H + +#include_next <linux/cache.h> + +#ifndef __ro_after_init +#define __ro_after_init +#endif + +#endif /* _BACKPORT_CACHE_H */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in