aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2015-02-14 13:53:44 +0000
committerNicolas Thill <nico@openwrt.org>2015-02-14 13:53:44 +0000
commit7dffd1e756b378f4c8e7cfe9860537743fc96d43 (patch)
tree14961adde96d1e06c3bc7025b2c6dd80df77f888 /target/linux
parent04833b01dda2c0f0f3d8c3c58b3da8bb49307755 (diff)
downloadupstream-7dffd1e756b378f4c8e7cfe9860537743fc96d43.tar.gz
upstream-7dffd1e756b378f4c8e7cfe9860537743fc96d43.tar.bz2
upstream-7dffd1e756b378f4c8e7cfe9860537743fc96d43.zip
generic: ocf: irq compat stuff is not needed anymore
Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44444 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/files/crypto/ocf/ocf-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/crypto/ocf/ocf-compat.h b/target/linux/generic/files/crypto/ocf/ocf-compat.h
index 831927e880..b38cf27b3a 100644
--- a/target/linux/generic/files/crypto/ocf/ocf-compat.h
+++ b/target/linux/generic/files/crypto/ocf/ocf-compat.h
@@ -211,6 +211,7 @@ struct ocf_device {
/* older kernels don't have these */
#include <asm/irq.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
#if !defined(IRQ_NONE) && !defined(IRQ_RETVAL)
#define IRQ_NONE
#define IRQ_HANDLED
@@ -222,6 +223,7 @@ typedef irqreturn_t (*irq_handler_t)(int irq, void *arg, struct pt_regs *regs);
#ifndef IRQF_SHARED
#define IRQF_SHARED SA_SHIRQ
#endif
+#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
# define strlcpy(dest,src,len) \