]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] proper prototypes for inftl_{read,write}_oob()
authorAdrian Bunk <bunk@kernel.org>
Mon, 14 Apr 2008 14:19:58 +0000 (17:19 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 14:54:16 +0000 (15:54 +0100)
This patch adds proper prototypes for inftl_{read,write}_oob() in
include/linux/mtd/inftl.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/inftlmount.c
include/linux/mtd/inftl.h

index b8917beeb65099262da1e316282d663e43933e39..c551d2f0779c2e8c141c3a18c3f5bae05686dd84 100644 (file)
 
 char inftlmountrev[]="$Revision: 1.18 $";
 
-extern int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
-                         size_t *retlen, uint8_t *buf);
-extern int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
-                          size_t *retlen, uint8_t *buf);
-
 /*
  * find_boot_record: Find the INFTL Media Header and its Spare copy which
  *     contains the various device information of the INFTL partition and
index 6977780e548f96809a2c5df708490f7bae81bff0..85fd041d44ad30ca9fea26eef7dfafb164d611f2 100644 (file)
@@ -57,6 +57,11 @@ extern char inftlmountrev[];
 void INFTL_dumptables(struct INFTLrecord *s);
 void INFTL_dumpVUchains(struct INFTLrecord *s);
 
+int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
+                  size_t *retlen, uint8_t *buf);
+int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
+                   size_t *retlen, uint8_t *buf);
+
 #endif /* __KERNEL__ */
 
 #endif /* __MTD_INFTL_H__ */