diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-02-07 11:50:57 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-02-07 11:50:57 +0100 |
commit | f9f7dd222364a6428d2ad99a515935dd1dd89d18 (patch) | |
tree | 9073163b90c35aafc59b5ef8327f9c5366919a3b /drivers/mtd | |
parent | [MTD] [NOR] fix startup lock when using multiple nor flash chips (diff) | |
download | linux-f9f7dd222364a6428d2ad99a515935dd1dd89d18.tar.xz linux-f9f7dd222364a6428d2ad99a515935dd1dd89d18.zip |
[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.c | 1 |
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 |