[ARM] Fix fallout from IRQ regs changes
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 15 Oct 2006 12:48:37 +0000 (13:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 15 Oct 2006 12:48:37 +0000 (13:48 +0100)
Some ARM platforms were still broken as a result of the IRQ register
passing changes, mostly due to a missing linux/irq.h include.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-footbridge/dc21285.c
arch/arm/mach-pxa/lubbock.c
arch/arm/oprofile/op_model_xscale.c

index fa5d497..1463330 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/ioport.h>
+#include <linux/irq.h>
 
 #include <asm/io.h>
 #include <asm/irq.h>
index ee80d62..142c33c 100644 (file)
@@ -397,7 +397,7 @@ static void lubbock_mmc_poll(unsigned long data)
        if (LUB_IRQ_SET_CLR & (1 << 0))
                mod_timer(&mmc_timer, jiffies + MMC_POLL_RATE);
        else {
-               (void) mmc_detect_int(LUBBOCK_SD_IRQ, (void *)data, NULL);
+               (void) mmc_detect_int(LUBBOCK_SD_IRQ, (void *)data);
                enable_irq(LUBBOCK_SD_IRQ);
        }
 }
index 7899d3c..7c3289c 100644 (file)
@@ -20,7 +20,8 @@
 #include <linux/sched.h>
 #include <linux/oprofile.h>
 #include <linux/interrupt.h>
-#include <asm/irq.h>
+#include <linux/irq.h>
+
 #include <asm/system.h>
 
 #include "op_counter.h"