[MTD] Fix mtdoops.c compilation

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Feb 7 05:59:02 EST 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f9f7dd222364a6428d2ad99a515935dd1dd89d18
Commit:     f9f7dd222364a6428d2ad99a515935dd1dd89d18
Parent:     484b8e64c848185af0d3671fafba4dd66ca412d2
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Thu Feb 7 10:50:57 2008 +0000
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Thu Feb 7 10:50:57 2008 +0000

    [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 at infradead.org>
---
 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 fd98e38..d3cf050 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



More information about the linux-mtd-cvs mailing list