Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / arch / ppc / platforms / apus_setup.c
index 1d034ea..fe0cdc0 100644 (file)
@@ -11,6 +11,7 @@
  *  Amiga specific stuff into mach/amiga.
  */
 
+#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/init.h>
@@ -733,9 +734,9 @@ void apus_init_IRQ(void)
        for ( i = 0 ; i < AMI_IRQS; i++ ) {
                irq_desc[i].status = IRQ_LEVEL;
                if (i < IRQ_AMIGA_AUTO) {
-                       irq_desc[i].chip = &amiga_irqctrl;
+                       irq_desc[i].handler = &amiga_irqctrl;
                } else {
-                       irq_desc[i].chip = &amiga_sys_irqctrl;
+                       irq_desc[i].handler = &amiga_sys_irqctrl;
                        action = &amiga_sys_irqaction[i-IRQ_AMIGA_AUTO];
                        if (action->name)
                                setup_irq(i, action);