Skip to content

Commit

Permalink
[MTD] Fix mtdoops.c compilation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Woodhouse committed Feb 7, 2008
1 parent 484b8e6 commit f9f7dd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/mtdoops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9f7dd2

Please sign in to comment.