[PATCH] Small compile error with MTD driver

Jeff Golds
2001-07-05T22:40:09Z

Linus,

I just downloaded the 2.4.6 kernel and got a compile error while
building the mtd driver as a module. The following patch addresses the
issue and I apologize if someone has already sent this in.

-Jeff

--- 2.4.6.clean/include/linux/mtd/cfi.h Thu Jul 5 15:03:47 2001
+++ 2.4.6/include/linux/mtd/cfi.h Thu Jul 5 15:30:43 2001
@@ -10,6 +10,7 @@
#include <linux/config.h>
#include <linux/delay.h>
#include <linux/types.h>
+#include <linux/interrupt.h>
#include <linux/mtd/flashchip.h>
#include
<linux/mtd/cfi_endian.h>

--
Jeff Golds
Sr. Software Engineer
jgolds@resilience.com