summaryrefslogtreecommitdiff
path: root/kernel/wctdm24xxp/GpakCust.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/wctdm24xxp/GpakCust.c')
-rw-r--r--kernel/wctdm24xxp/GpakCust.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/wctdm24xxp/GpakCust.c b/kernel/wctdm24xxp/GpakCust.c
index 4245eab..fe29458 100644
--- a/kernel/wctdm24xxp/GpakCust.c
+++ b/kernel/wctdm24xxp/GpakCust.c
@@ -35,7 +35,11 @@
#include <linux/version.h>
#include <linux/delay.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
+#include <linux/semaphore.h>
+#else
#include <asm/semaphore.h>
+#endif
#include "zaptel.h"
#include "wctdm24xxp.h"