diff options
Diffstat (limited to 'arch/arm/mach-netx/generic.c')
-rw-r--r-- | arch/arm/mach-netx/generic.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-netx/generic.c b/arch/arm/mach-netx/generic.c index fd7537f7d11e..1b40483ea753 100644 --- a/arch/arm/mach-netx/generic.c +++ b/arch/arm/mach-netx/generic.c | |||
@@ -22,11 +22,11 @@ | |||
22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | #include <asm/hardware.h> | 25 | #include <mach/hardware.h> |
26 | #include <asm/mach/map.h> | 26 | #include <asm/mach/map.h> |
27 | #include <asm/hardware/vic.h> | 27 | #include <asm/hardware/vic.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/arch/netx-regs.h> | 29 | #include <mach/netx-regs.h> |
30 | #include <asm/mach/irq.h> | 30 | #include <asm/mach/irq.h> |
31 | 31 | ||
32 | static struct map_desc netx_io_desc[] __initdata = { | 32 | static struct map_desc netx_io_desc[] __initdata = { |
@@ -99,19 +99,19 @@ netx_hif_irq_type(unsigned int _irq, unsigned int type) | |||
99 | 99 | ||
100 | irq = _irq - NETX_IRQ_HIF_CHAINED(0); | 100 | irq = _irq - NETX_IRQ_HIF_CHAINED(0); |
101 | 101 | ||
102 | if (type & __IRQT_RISEDGE) { | 102 | if (type & IRQ_TYPE_EDGE_RISING) { |
103 | DEBUG_IRQ("rising edges\n"); | 103 | DEBUG_IRQ("rising edges\n"); |
104 | val |= (1 << 26) << irq; | 104 | val |= (1 << 26) << irq; |
105 | } | 105 | } |
106 | if (type & __IRQT_FALEDGE) { | 106 | if (type & IRQ_TYPE_EDGE_FALLING) { |
107 | DEBUG_IRQ("falling edges\n"); | 107 | DEBUG_IRQ("falling edges\n"); |
108 | val &= ~((1 << 26) << irq); | 108 | val &= ~((1 << 26) << irq); |
109 | } | 109 | } |
110 | if (type & __IRQT_LOWLVL) { | 110 | if (type & IRQ_TYPE_LEVEL_LOW) { |
111 | DEBUG_IRQ("low level\n"); | 111 | DEBUG_IRQ("low level\n"); |
112 | val &= ~((1 << 26) << irq); | 112 | val &= ~((1 << 26) << irq); |
113 | } | 113 | } |
114 | if (type & __IRQT_HIGHLVL) { | 114 | if (type & IRQ_TYPE_LEVEL_HIGH) { |
115 | DEBUG_IRQ("high level\n"); | 115 | DEBUG_IRQ("high level\n"); |
116 | val |= (1 << 26) << irq; | 116 | val |= (1 << 26) << irq; |
117 | } | 117 | } |