Commit 2326eb98 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Fix fallout from IRQ regs changes

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8e25b84e
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/irq.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h> #include <asm/irq.h>
......
...@@ -397,7 +397,7 @@ static void lubbock_mmc_poll(unsigned long data) ...@@ -397,7 +397,7 @@ static void lubbock_mmc_poll(unsigned long data)
if (LUB_IRQ_SET_CLR & (1 << 0)) if (LUB_IRQ_SET_CLR & (1 << 0))
mod_timer(&mmc_timer, jiffies + MMC_POLL_RATE); mod_timer(&mmc_timer, jiffies + MMC_POLL_RATE);
else { 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); enable_irq(LUBBOCK_SD_IRQ);
} }
} }
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/oprofile.h> #include <linux/oprofile.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <asm/irq.h> #include <linux/irq.h>
#include <asm/system.h> #include <asm/system.h>
#include "op_counter.h" #include "op_counter.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment