aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-02-07 05:50:57 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2008-02-07 05:50:57 -0500
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 @@
30#include <linux/wait.h> 30#include <linux/wait.h>
31#include <linux/delay.h> 31#include <linux/delay.h>
32#include <linux/spinlock.h> 32#include <linux/spinlock.h>
33#include <linux/interrupt.h>
33#include <linux/mtd/mtd.h> 34#include <linux/mtd/mtd.h>
34 35
35#define OOPS_PAGE_SIZE 4096 36#define OOPS_PAGE_SIZE 4096