Remove #include file obsoleted in Linux-2.6
authorluc <luc>
Fri, 29 Jul 2005 20:00:53 +0000 (20:00 +0000)
committerluc <luc>
Fri, 29 Jul 2005 20:00:53 +0000 (20:00 +0000)
mtdemul/nandemul2k.c

index 2980f9a..fe14d67 100644 (file)
@@ -27,7 +27,9 @@
 #include <linux/mtd/mtd.h>
 #include <linux/interrupt.h>
 #include <linux/string.h>
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
 #include <linux/locks.h>
+#endif
 
 #include <asm/uaccess.h>
 #include <linux/mtd/mtd.h>