linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / ppc / platforms / apus_setup.c
index 1d034ea..c42c500 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ *  arch/ppc/platforms/apus_setup.c
+ *
  *  Copyright (C) 1998, 1999  Jesper Skov
  *
  *  Basically what is needed to replace functionality found in
@@ -11,6 +13,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 +736,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);