summaryrefslogtreecommitdiff
path: root/drivers/staging/csr/csr_framework_ext.c
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2012-09-01 09:06:10 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-04 21:33:52 (GMT)
commit34f86d06f07cdf87598daa1588a08110047c0b2f (patch)
treeb30ec5e1946790090e3124588e102df4e798c129 /drivers/staging/csr/csr_framework_ext.c
parent4febd649bbaaff71dae4cb7bda5473e92c590e01 (diff)
downloadlinux-fsl-qoriq-34f86d06f07cdf87598daa1588a08110047c0b2f.tar.xz
staging: csr: Remove all leftover kernel version checks \o/
Signed-off-by: Priit Laes <plaes@plaes.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr/csr_framework_ext.c')
-rw-r--r--drivers/staging/csr/csr_framework_ext.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/staging/csr/csr_framework_ext.c b/drivers/staging/csr/csr_framework_ext.c
index 12e7ddf..f91a4bf 100644
--- a/drivers/staging/csr/csr_framework_ext.c
+++ b/drivers/staging/csr/csr_framework_ext.c
@@ -12,20 +12,9 @@
#include <linux/version.h>
#include <linux/kthread.h>
#include <linux/module.h>
-
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34)
-#include <linux/slab.h>
-#endif
-
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 19)
#include <linux/freezer.h>
-#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
-#include <asm/semaphore.h>
-#else
#include <linux/semaphore.h>
-#endif
-
+#include <linux/slab.h>
#include <linux/bitops.h>
#include "csr_framework_ext.h"