diff options
author | luc <luc> | 2005-07-29 20:00:53 +0000 |
---|---|---|
committer | luc <luc> | 2005-07-29 20:00:53 +0000 |
commit | 3e2677dfc7a44cfed8dd8bd571916a3c75ce3373 (patch) | |
tree | c664f0343fa95a8c01e9627df3a65e9db1637171 /mtdemul | |
parent | ae1a3323e4dee438db4548db5cb2d138d01d619a (diff) |
Remove #include file obsoleted in Linux-2.6
Diffstat (limited to 'mtdemul')
-rw-r--r-- | mtdemul/nandemul2k.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mtdemul/nandemul2k.c b/mtdemul/nandemul2k.c index 2980f9a..fe14d67 100644 --- a/mtdemul/nandemul2k.c +++ b/mtdemul/nandemul2k.c @@ -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> |