generic: ocf: irq compat stuff is not needed anymore
Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44444
This commit is contained in:
parent
40baf1b287
commit
40c0261f34
1 changed files with 2 additions and 0 deletions
|
@ -211,6 +211,7 @@ struct ocf_device {
|
||||||
/* older kernels don't have these */
|
/* older kernels don't have these */
|
||||||
|
|
||||||
#include <asm/irq.h>
|
#include <asm/irq.h>
|
||||||
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
|
||||||
#if !defined(IRQ_NONE) && !defined(IRQ_RETVAL)
|
#if !defined(IRQ_NONE) && !defined(IRQ_RETVAL)
|
||||||
#define IRQ_NONE
|
#define IRQ_NONE
|
||||||
#define IRQ_HANDLED
|
#define IRQ_HANDLED
|
||||||
|
@ -222,6 +223,7 @@ typedef irqreturn_t (*irq_handler_t)(int irq, void *arg, struct pt_regs *regs);
|
||||||
#ifndef IRQF_SHARED
|
#ifndef IRQF_SHARED
|
||||||
#define IRQF_SHARED SA_SHIRQ
|
#define IRQF_SHARED SA_SHIRQ
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
|
||||||
# define strlcpy(dest,src,len) \
|
# define strlcpy(dest,src,len) \
|
||||||
|
|
Loading…
Reference in a new issue