]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/kthread.h
Do not attempt to include removed devfs_fs_kernel.h file for 2.6.18+ kernel.
[lincan.git] / lincan / include / kthread.h
index 1450f81f62979fcf4985a267bf45f5f86116f2bc..2d3ee563ad950e56b6397965397745f3783f384a 100644 (file)
@@ -10,7 +10,9 @@
   #include <linux/tqueue.h>
   #define tasklet_struct tq_struct
 #else
-  #include <linux/devfs_fs_kernel.h>
+  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17))
+    #include <linux/devfs_fs_kernel.h>
+  #endif
 #endif
 
 #include <linux/wait.h>