[PATCH] compilation fix for nand.c

From: Dave Jones (davej@suse.de)
Date: Mon Sep 24 2001 - 15:34:28 EST


nand.c uses do_softirq() without including interrupt.h.
Patch below makes things compile again.

regards,

Dave.

diff -urN --exclude-from=/home/davej/.exclude linux-test/drivers/mtd/nand/nand.c linux-dj/drivers/mtd/nand/nand.c
--- linux-test/drivers/mtd/nand/nand.c Mon Sep 24 21:24:40 2001
+++ linux-dj/drivers/mtd/nand/nand.c Mon Sep 24 02:36:43 2001
@@ -21,6 +21,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/nand_ids.h>
+#include <linux/interrupt.h>
 #include <asm/io.h>

 #ifdef CONFIG_MTD_NAND_ECC

-- 
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:25 EST