diff options
Diffstat (limited to 'arch/arm/mach-ixp2000/ixdp2x01.c')
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2x01.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-ixp2000/ixdp2x01.c b/arch/arm/mach-ixp2000/ixdp2x01.c index 9ccae9e63f70..3084a5fa751c 100644 --- a/arch/arm/mach-ixp2000/ixdp2x01.c +++ b/arch/arm/mach-ixp2000/ixdp2x01.c | |||
@@ -63,7 +63,7 @@ static void ixdp2x01_irq_unmask(unsigned int irq) | |||
63 | 63 | ||
64 | static u32 valid_irq_mask; | 64 | static u32 valid_irq_mask; |
65 | 65 | ||
66 | static void ixdp2x01_irq_handler(unsigned int irq, struct irqdesc *desc) | 66 | static void ixdp2x01_irq_handler(unsigned int irq, struct irq_desc *desc) |
67 | { | 67 | { |
68 | u32 ex_interrupt; | 68 | u32 ex_interrupt; |
69 | int i; | 69 | int i; |
@@ -79,7 +79,7 @@ static void ixdp2x01_irq_handler(unsigned int irq, struct irqdesc *desc) | |||
79 | 79 | ||
80 | for (i = 0; i < IXP2000_BOARD_IRQS; i++) { | 80 | for (i = 0; i < IXP2000_BOARD_IRQS; i++) { |
81 | if (ex_interrupt & (1 << i)) { | 81 | if (ex_interrupt & (1 << i)) { |
82 | struct irqdesc *cpld_desc; | 82 | struct irq_desc *cpld_desc; |
83 | int cpld_irq = IXP2000_BOARD_IRQ(0) + i; | 83 | int cpld_irq = IXP2000_BOARD_IRQ(0) + i; |
84 | cpld_desc = irq_desc + cpld_irq; | 84 | cpld_desc = irq_desc + cpld_irq; |
85 | desc_handle_irq(cpld_irq, cpld_desc); | 85 | desc_handle_irq(cpld_irq, cpld_desc); |
@@ -89,7 +89,7 @@ static void ixdp2x01_irq_handler(unsigned int irq, struct irqdesc *desc) | |||
89 | desc->chip->unmask(irq); | 89 | desc->chip->unmask(irq); |
90 | } | 90 | } |
91 | 91 | ||
92 | static struct irqchip ixdp2x01_irq_chip = { | 92 | static struct irq_chip ixdp2x01_irq_chip = { |
93 | .mask = ixdp2x01_irq_mask, | 93 | .mask = ixdp2x01_irq_mask, |
94 | .ack = ixdp2x01_irq_mask, | 94 | .ack = ixdp2x01_irq_mask, |
95 | .unmask = ixdp2x01_irq_unmask | 95 | .unmask = ixdp2x01_irq_unmask |
@@ -119,7 +119,7 @@ void __init ixdp2x01_init_irq(void) | |||
119 | for (irq = NR_IXP2000_IRQS; irq < NR_IXDP2X01_IRQS; irq++) { | 119 | for (irq = NR_IXP2000_IRQS; irq < NR_IXDP2X01_IRQS; irq++) { |
120 | if (irq & valid_irq_mask) { | 120 | if (irq & valid_irq_mask) { |
121 | set_irq_chip(irq, &ixdp2x01_irq_chip); | 121 | set_irq_chip(irq, &ixdp2x01_irq_chip); |
122 | set_irq_handler(irq, do_level_IRQ); | 122 | set_irq_handler(irq, handle_level_irq); |
123 | set_irq_flags(irq, IRQF_VALID); | 123 | set_irq_flags(irq, IRQF_VALID); |
124 | } else { | 124 | } else { |
125 | set_irq_flags(irq, 0); | 125 | set_irq_flags(irq, 0); |