summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/wrapper.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-13 16:36:22 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:16 -0800
commite0dcef71f6ea63f80631d2e87d06a9ae05624eef (patch)
tree2e4ae57567f823557435c4473e8bdebf29efd8b2 /drivers/staging/comedi/wrapper.h
parented9eccbe8970f6eedc1b978c157caf1251a896d4 (diff)
Staging: comedi: fix up a lot of checkpatch.pl warnings
Only clean up some of the easier ones in the .h files Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/wrapper.h')
-rw-r--r--drivers/staging/comedi/wrapper.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/comedi/wrapper.h b/drivers/staging/comedi/wrapper.h
index 81f8adb768d2..77fc673900e9 100644
--- a/drivers/staging/comedi/wrapper.h
+++ b/drivers/staging/comedi/wrapper.h
@@ -19,13 +19,7 @@
#ifndef __COMPAT_LINUX_WRAPPER_H_
#define __COMPAT_LINUX_WRAPPER_H_
-#include <linux/version.h>
-
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
#define mem_map_reserve(p) set_bit(PG_reserved, &((p)->flags))
#define mem_map_unreserve(p) clear_bit(PG_reserved, &((p)->flags))
-#else
-#include_next <linux/wrapper.h>
-#endif
#endif /* __COMPAT_LINUX_WRAPPER_H_ */