aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-31 10:58:23 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-17 07:47:43 -0700
commit3b33bd911dfcbe923b7aeac04e7b5691247dad35 (patch)
tree7ef9f5cd79eb24ee96c5a44a04b15d50092c78ae /drivers/staging/dgap
parentstaging: dgap: Remove version check in dgap_driver.c (diff)
downloadlinux-dev-3b33bd911dfcbe923b7aeac04e7b5691247dad35.tar.xz
linux-dev-3b33bd911dfcbe923b7aeac04e7b5691247dad35.zip
staging: dgap: Remove version check in dgap_kcompat.h
Code should be for the kernel version it is merged in. Version check is not necessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r--drivers/staging/dgap/dgap_kcompat.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/staging/dgap/dgap_kcompat.h b/drivers/staging/dgap/dgap_kcompat.h
index 8ebf4b7373b7..0dc2404922ff 100644
--- a/drivers/staging/dgap/dgap_kcompat.h
+++ b/drivers/staging/dgap/dgap_kcompat.h
@@ -28,11 +28,6 @@
#ifndef __DGAP_KCOMPAT_H
#define __DGAP_KCOMPAT_H
-# ifndef KERNEL_VERSION
-# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-# endif
-
-
#if !defined(TTY_FLIPBUF_SIZE)
# define TTY_FLIPBUF_SIZE 512
#endif
@@ -66,28 +61,4 @@
module_param(VAR, long, PERM); \
MODULE_PARM_DESC(VAR, DESC);
-
-
-
-
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-
-
-
-
-/* NOTHING YET */
-
-
-
-
-# else
-
-
-
-# error "this driver does not support anything below the 2.6.27 kernel series."
-
-
-
-# endif
-
#endif /* ! __DGAP_KCOMPAT_H */