linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / sh / boards / snapgear / setup.c
index f1f7c70..08fc983 100644 (file)
@@ -14,6 +14,7 @@
  */
 /****************************************************************************/
 
+#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
@@ -50,7 +51,7 @@ static int __init eraseconfig_init(void)
 {
        printk("SnapGear: EraseConfig init\n");
        /* Setup "EraseConfig" switch on external IRQ 0 */
-       if (request_irq(IRL0_IRQ, eraseconfig_interrupt, IRQF_DISABLED,
+       if (request_irq(IRL0_IRQ, eraseconfig_interrupt, SA_INTERRUPT,
                                "Erase Config", NULL))
                printk("SnapGear: failed to register IRQ%d for Reset witch\n",
                                IRL0_IRQ);