diff options
author | Nicolas Thill <nico@openwrt.org> | 2015-02-14 13:53:44 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2015-02-14 13:53:44 +0000 |
commit | 40c0261f34f69ee8dbe24dac926592581e1fdd58 (patch) | |
tree | 913990729e9017bc285bc6817ceb3e8c9a73f323 /target/linux/generic/files/crypto/ocf | |
parent | 40baf1b287ceaeadcb585c54b86216f0090425ff (diff) | |
download | mtk-20170518-40c0261f34f69ee8dbe24dac926592581e1fdd58.zip mtk-20170518-40c0261f34f69ee8dbe24dac926592581e1fdd58.tar.gz mtk-20170518-40c0261f34f69ee8dbe24dac926592581e1fdd58.tar.bz2 |
generic: ocf: irq compat stuff is not needed anymore
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44444
Diffstat (limited to 'target/linux/generic/files/crypto/ocf')
-rw-r--r-- | target/linux/generic/files/crypto/ocf/ocf-compat.h | 2 |
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 831927e..b38cf27 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) \ |