diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-11-23 06:41:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-11-30 07:24:47 -0500 |
commit | 10dd5ce28d78e2440e8fa1135d17e33399d75340 (patch) | |
tree | d2e76765a57e7e47a9c424f99c3a22bf99c6da64 /arch/arm/common/vic.c | |
parent | 127e477e0cd8da4d3058709ab2dc7b92dccbcba5 (diff) |
[ARM] Remove compatibility layer for ARM irqs
set_irq_chipdata -> set_irq_chip_data
get_irq_chipdata -> get_irq_chip_data
do_level_IRQ -> handle_level_irq
do_edge_IRQ -> handle_edge_irq
do_simple_IRQ -> handle_simple_irq
irqdesc -> irq_desc
irqchip -> irq_chip
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/vic.c')
-rw-r--r-- | arch/arm/common/vic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c index 43d278134521..c026fa2214a3 100644 --- a/arch/arm/common/vic.c +++ b/arch/arm/common/vic.c | |||
@@ -27,14 +27,14 @@ | |||
27 | 27 | ||
28 | static void vic_mask_irq(unsigned int irq) | 28 | static void vic_mask_irq(unsigned int irq) |
29 | { | 29 | { |
30 | void __iomem *base = get_irq_chipdata(irq); | 30 | void __iomem *base = get_irq_chip_data(irq); |
31 | irq &= 31; | 31 | irq &= 31; |
32 | writel(1 << irq, base + VIC_INT_ENABLE_CLEAR); | 32 | writel(1 << irq, base + VIC_INT_ENABLE_CLEAR); |
33 | } | 33 | } |
34 | 34 | ||
35 | static void vic_unmask_irq(unsigned int irq) | 35 | static void vic_unmask_irq(unsigned int irq) |
36 | { | 36 | { |
37 | void __iomem *base = get_irq_chipdata(irq); | 37 | void __iomem *base = get_irq_chip_data(irq); |
38 | irq &= 31; | 38 | irq &= 31; |
39 | writel(1 << irq, base + VIC_INT_ENABLE); | 39 | writel(1 << irq, base + VIC_INT_ENABLE); |
40 | } | 40 | } |
@@ -88,10 +88,10 @@ void __init vic_init(void __iomem *base, unsigned int irq_start, | |||
88 | unsigned int irq = irq_start + i; | 88 | unsigned int irq = irq_start + i; |
89 | 89 | ||
90 | set_irq_chip(irq, &vic_chip); | 90 | set_irq_chip(irq, &vic_chip); |
91 | set_irq_chipdata(irq, base); | 91 | set_irq_chip_data(irq, base); |
92 | 92 | ||
93 | if (vic_sources & (1 << i)) { | 93 | if (vic_sources & (1 << i)) { |
94 | set_irq_handler(irq, do_level_IRQ); | 94 | set_irq_handler(irq, handle_level_irq); |
95 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); | 95 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); |
96 | } | 96 | } |
97 | } | 97 | } |