]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/mtdoops.c
[MTD] [NOR] drivers/mtd/chips/jedec_probe.c: fix Am29DL800BB device ID
[karo-tx-linux.git] / drivers / mtd / mtdoops.c
index fd98e38f10bcf133172b4a87475134d489d809e1..5a680e1e61f14dbc2ba684482792f2f40aabbee9 100644 (file)
 #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
 
-struct mtdoops_context {
+static struct mtdoops_context {
        int mtd_index;
        struct work_struct work_erase;
        struct work_struct work_write;