Commit f9f7dd22 authored by David Woodhouse's avatar David Woodhouse

[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: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 484b8e64
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#define OOPS_PAGE_SIZE 4096 #define OOPS_PAGE_SIZE 4096
......
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