TRIVIAL: Fix linux/mtd/nftl.h for user-space inclusion
Bernardo Innocenti
bernie at develer.com
Tue Jun 1 16:15:57 EDT 2004
Fix linux/mtd/nftl.h for user-space inclusion (required to build mtd-utils).
Please apply.
--- linux-2.6.6-uc0/include/linux/mtd/nftl.h 2004-05-10 04:33:13.000000000 +0200
+++ linux-2.6.6-uc0-develer/include/linux/mtd/nftl.h 2004-06-01 22:03:36.824225250 +0200
@@ -8,7 +8,6 @@
#define __MTD_NFTL_H__
#include <linux/mtd/mtd.h>
-#include <linux/mtd/blktrans.h>
/* Block Control Information */
@@ -76,6 +75,8 @@
#ifdef __KERNEL__
+#include <linux/mtd/blktrans.h>
+
/* these info are used in ReplUnitTable */
#define BLOCK_NIL 0xffff /* last block of a chain */
#define BLOCK_FREE 0xfffe /* free block */
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
More information about the linux-mtd
mailing list