summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-02-07 10:50:57 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2008-02-07 10:50:57 +0000
commitf9f7dd222364a6428d2ad99a515935dd1dd89d18 (patch)
tree9073163b90c35aafc59b5ef8327f9c5366919a3b /drivers/mtd
parent484b8e64c848185af0d3671fafba4dd66ca412d2 (diff)
[MTD] Fix mtdoops.c compilation
drivers/mtd/mtdoops.c: In function ‘mtdoops_console_sync’: drivers/mtd/mtdoops.c:329: error: implicit declaration of function ‘in_interrupt’ Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/mtdoops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdoops.c b/drivers/mtd/mtdoops.c
index fd98e38f10bc..d3cf05012b46 100644
--- a/drivers/mtd/mtdoops.c
+++ b/drivers/mtd/mtdoops.c
@@ -30,6 +30,7 @@
#include <linux/wait.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
+#include <linux/interrupt.h>
#include <linux/mtd/mtd.h>
#define OOPS_PAGE_SIZE 4096