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

John Crispin blogic at openwrt.org
Thu Dec 31 02:12:07 EST 2015


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
_______________________________________________
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