From: Ian Abbott Date: Mon, 5 Sep 2011 12:29:20 +0000 (+0100) Subject: Fix warnings about including deprecated X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae705499aec99c52716a258cd7d5848b1408ffe1;p=comedi.git Fix warnings about including deprecated Change Comedi's compatibility header so it only includes the real for kernel versions below 2.6.15. Previously it was included for kernel versions below 2.6.19 (when it was removed from the kernel sources) but wasn't needed for 2.6.15 onwards. Signed-off-by: Ian Abbott --- diff --git a/include/linux/config.h b/include/linux/config.h index 95cbcf64..08790704 100644 --- a/include/linux/config.h +++ b/include/linux/config.h @@ -5,7 +5,7 @@ #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15) #include_next #endif