Fix for drivers/mtd/devices/lart.c

J.D. Bakker bakker at thorgal.et.tudelft.nl
Tue Jul 29 15:11:39 EDT 2003


Hi all,

Here's a trivial patch to get drivers/mtd/devices/lart.c to compile 
again. Please apply.

Index: drivers/mtd/devices/lart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/lart.c,v
retrieving revision 1.5
diff -u -d -b -r1.5 lart.c
--- drivers/mtd/devices/lart.c  20 May 2003 21:03:07 -0000      1.5
+++ drivers/mtd/devices/lart.c  29 Jul 2003 19:06:49 -0000
@@ -44,6 +44,7 @@
  #include <linux/types.h>
  #include <linux/version.h>
  #include <linux/errno.h>
+#include <linux/init.h>
  #include <linux/mtd/mtd.h>
  #ifdef HAVE_PARTITIONS
  #include <linux/mtd/partitions.h>

Thanks,

JDB.
[who has managed to get one 1Gb NAND Flash to work with the LART. One 
down, seven to go...]
-- 
Three of your friends throw up after eating chicken salad.  Do you think
"I should find more robust friends" or "we should check that refrigerator".
          -- Donald Becker, on vortex-bug, suspecting a network-wide problem.



More information about the linux-mtd mailing list