On Sat, 2016-11-12 at 20:18 +0000, Arend van Spriel wrote: > 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. > +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,6,0)) > +#define __ro_after_init > +#endif Due to how __ro_after_init works, it *has* to be a macro originally, so you could just ifndef on itself: #ifndef __ro_after_init #define __ro_after_init #endif and be slightly more compatible in case somebody ever backports it. Don't think it really matters much, but why not. johannes -- To unsubscribe from this list: send the line "unsubscribe backports" in