[OpenWrt-Devel] [PATCH 4/4] lantiq: lantiq-deu: Make the DEU driver compatible with 4.2 and newer

Mathias Kresin openwrt at kresin.me
Thu Dec 31 04:51:37 EST 2015


Am 31.12.2015 um 08:12 schrieb John Crispin:
> Hi
>
> On 31/12/2015 01:10, Martin Blumenstingl wrote:
>> +
>> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)
>> +#include <linux/scatterlist.h>
>> +#else
>>   #include <asm/scatterlist.h>
>> +#endif
>
> please just drop the old code. there is no need to be compatible to old
> kernels.
>
> 	John
>

I guess we should keep the compatibility with Kernel 4.1 as long as this 
kernel version is the default for this target and/or available for this 
target.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list