linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / ppc / syslib / open_pic2.c
index e1ff971..1c40049 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ *  arch/ppc/kernel/open_pic.c -- OpenPIC Interrupt Handling
+ *
  *  Copyright (C) 1997 Geert Uytterhoeven
  *
  *  This file is subject to the terms and conditions of the GNU General Public
@@ -10,6 +12,7 @@
  *  register accesses
  */
 
+#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -289,7 +292,7 @@ void __init openpic2_init(int offset)
 
        /* Init descriptors */
        for (i = offset; i < NumSources + offset; i++)
-               irq_desc[i].chip = &open_pic2;
+               irq_desc[i].handler = &open_pic2;
 
        /* Initialize the spurious interrupt */
        if (ppc_md.progress) ppc_md.progress("openpic2: spurious",0x3bd);