projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04833b0
)
generic: ocf: irq compat stuff is not needed anymore
author
Nicolas Thill
<nico@openwrt.org>
Sat, 14 Feb 2015 13:53:44 +0000
(13:53 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Sat, 14 Feb 2015 13:53:44 +0000
(13:53 +0000)
Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44444
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/generic/files/crypto/ocf/ocf-compat.h
patch
|
blob
|
history
diff --git
a/target/linux/generic/files/crypto/ocf/ocf-compat.h
b/target/linux/generic/files/crypto/ocf/ocf-compat.h
index
831927e
..
b38cf27
100644
(file)
--- 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) \