diff options
Diffstat (limited to 'arch/arm/mach-footbridge/isa-irq.c')
-rw-r--r-- | arch/arm/mach-footbridge/isa-irq.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/arch/arm/mach-footbridge/isa-irq.c b/arch/arm/mach-footbridge/isa-irq.c index e1c43b331d64..87448c2d6baa 100644 --- a/arch/arm/mach-footbridge/isa-irq.c +++ b/arch/arm/mach-footbridge/isa-irq.c | |||
@@ -98,9 +98,22 @@ isa_irq_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs) | |||
98 | desc_handle_irq(isa_irq, desc, regs); | 98 | desc_handle_irq(isa_irq, desc, regs); |
99 | } | 99 | } |
100 | 100 | ||
101 | static struct irqaction irq_cascade = { .handler = no_action, .name = "cascade", }; | 101 | static struct irqaction irq_cascade = { |
102 | static struct resource pic1_resource = { "pic1", 0x20, 0x3f }; | 102 | .handler = no_action, |
103 | static struct resource pic2_resource = { "pic2", 0xa0, 0xbf }; | 103 | .name = "cascade", |
104 | }; | ||
105 | |||
106 | static struct resource pic1_resource = { | ||
107 | .name = "pic1", | ||
108 | .start = 0x20, | ||
109 | .end = 0x3f, | ||
110 | }; | ||
111 | |||
112 | static struct resource pic2_resource = { | ||
113 | .name = "pic2", | ||
114 | .start = 0xa0, | ||
115 | .end = 0xbf, | ||
116 | }; | ||
104 | 117 | ||
105 | void __init isa_init_irq(unsigned int host_irq) | 118 | void __init isa_init_irq(unsigned int host_irq) |
106 | { | 119 | { |