2001-07-05 22:40:09

by Jeff Golds

[permalink] [raw]
Subject: [PATCH] Small compile error with MTD driver

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
[email protected]