[PATCH] compilation fix for nand.c

Dave Jones (davej@suse.de)
Mon, 24 Sep 2001 22:34:28 +0200 (CEST)


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/