projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
484b8e6
)
[MTD] Fix mtdoops.c compilation
author
David Woodhouse
<dwmw2@infradead.org>
Thu, 7 Feb 2008 10:50:57 +0000
(10:50 +0000)
committer
David Woodhouse
<dwmw2@infradead.org>
Thu, 7 Feb 2008 10:50:57 +0000
(10:50 +0000)
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>
drivers/mtd/mtdoops.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/mtdoops.c
b/drivers/mtd/mtdoops.c
index fd98e38f10bcf133172b4a87475134d489d809e1..d3cf05012b46a0a9df82888cb39ccd1bfd07f642 100644
(file)
--- 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