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/mach-footbridge | |
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/mach-footbridge')
-rw-r--r-- | arch/arm/mach-footbridge/common.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/isa-irq.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-footbridge/common.c b/arch/arm/mach-footbridge/common.c index af900f4755a4..ef29fc34ce65 100644 --- a/arch/arm/mach-footbridge/common.c +++ b/arch/arm/mach-footbridge/common.c | |||
@@ -78,7 +78,7 @@ static void fb_unmask_irq(unsigned int irq) | |||
78 | *CSR_IRQ_ENABLE = fb_irq_mask[_DC21285_INR(irq)]; | 78 | *CSR_IRQ_ENABLE = fb_irq_mask[_DC21285_INR(irq)]; |
79 | } | 79 | } |
80 | 80 | ||
81 | static struct irqchip fb_chip = { | 81 | static struct irq_chip fb_chip = { |
82 | .ack = fb_mask_irq, | 82 | .ack = fb_mask_irq, |
83 | .mask = fb_mask_irq, | 83 | .mask = fb_mask_irq, |
84 | .unmask = fb_unmask_irq, | 84 | .unmask = fb_unmask_irq, |
@@ -96,7 +96,7 @@ static void __init __fb_init_irq(void) | |||
96 | 96 | ||
97 | for (irq = _DC21285_IRQ(0); irq < _DC21285_IRQ(20); irq++) { | 97 | for (irq = _DC21285_IRQ(0); irq < _DC21285_IRQ(20); irq++) { |
98 | set_irq_chip(irq, &fb_chip); | 98 | set_irq_chip(irq, &fb_chip); |
99 | set_irq_handler(irq, do_level_IRQ); | 99 | set_irq_handler(irq, handle_level_irq); |
100 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); | 100 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); |
101 | } | 101 | } |
102 | } | 102 | } |
diff --git a/arch/arm/mach-footbridge/isa-irq.c b/arch/arm/mach-footbridge/isa-irq.c index 888dedd501b9..79443ffc8916 100644 --- a/arch/arm/mach-footbridge/isa-irq.c +++ b/arch/arm/mach-footbridge/isa-irq.c | |||
@@ -49,7 +49,7 @@ static void isa_unmask_pic_lo_irq(unsigned int irq) | |||
49 | outb(inb(PIC_MASK_LO) & ~mask, PIC_MASK_LO); | 49 | outb(inb(PIC_MASK_LO) & ~mask, PIC_MASK_LO); |
50 | } | 50 | } |
51 | 51 | ||
52 | static struct irqchip isa_lo_chip = { | 52 | static struct irq_chip isa_lo_chip = { |
53 | .ack = isa_ack_pic_lo_irq, | 53 | .ack = isa_ack_pic_lo_irq, |
54 | .mask = isa_mask_pic_lo_irq, | 54 | .mask = isa_mask_pic_lo_irq, |
55 | .unmask = isa_unmask_pic_lo_irq, | 55 | .unmask = isa_unmask_pic_lo_irq, |
@@ -78,14 +78,14 @@ static void isa_unmask_pic_hi_irq(unsigned int irq) | |||
78 | outb(inb(PIC_MASK_HI) & ~mask, PIC_MASK_HI); | 78 | outb(inb(PIC_MASK_HI) & ~mask, PIC_MASK_HI); |
79 | } | 79 | } |
80 | 80 | ||
81 | static struct irqchip isa_hi_chip = { | 81 | static struct irq_chip isa_hi_chip = { |
82 | .ack = isa_ack_pic_hi_irq, | 82 | .ack = isa_ack_pic_hi_irq, |
83 | .mask = isa_mask_pic_hi_irq, | 83 | .mask = isa_mask_pic_hi_irq, |
84 | .unmask = isa_unmask_pic_hi_irq, | 84 | .unmask = isa_unmask_pic_hi_irq, |
85 | }; | 85 | }; |
86 | 86 | ||
87 | static void | 87 | static void |
88 | isa_irq_handler(unsigned int irq, struct irqdesc *desc) | 88 | isa_irq_handler(unsigned int irq, struct irq_desc *desc) |
89 | { | 89 | { |
90 | unsigned int isa_irq = *(unsigned char *)PCIIACK_BASE; | 90 | unsigned int isa_irq = *(unsigned char *)PCIIACK_BASE; |
91 | 91 | ||
@@ -150,13 +150,13 @@ void __init isa_init_irq(unsigned int host_irq) | |||
150 | if (host_irq != (unsigned int)-1) { | 150 | if (host_irq != (unsigned int)-1) { |
151 | for (irq = _ISA_IRQ(0); irq < _ISA_IRQ(8); irq++) { | 151 | for (irq = _ISA_IRQ(0); irq < _ISA_IRQ(8); irq++) { |
152 | set_irq_chip(irq, &isa_lo_chip); | 152 | set_irq_chip(irq, &isa_lo_chip); |
153 | set_irq_handler(irq, do_level_IRQ); | 153 | set_irq_handler(irq, handle_level_irq); |
154 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); | 154 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); |
155 | } | 155 | } |
156 | 156 | ||
157 | for (irq = _ISA_IRQ(8); irq < _ISA_IRQ(16); irq++) { | 157 | for (irq = _ISA_IRQ(8); irq < _ISA_IRQ(16); irq++) { |
158 | set_irq_chip(irq, &isa_hi_chip); | 158 | set_irq_chip(irq, &isa_hi_chip); |
159 | set_irq_handler(irq, do_level_IRQ); | 159 | set_irq_handler(irq, handle_level_irq); |
160 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); | 160 | set_irq_flags(irq, IRQF_VALID | IRQF_PROBE); |
161 | } | 161 | } |
162 | 162 | ||