From 09db7fee6b81a939986e24d0ead6c828d2764b70 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 14 Apr 2008 17:20:00 +0300 Subject: [PATCH] --- yaml --- r: 93021 b: refs/heads/master c: 51ee83df6151a3e618e65236e304e00ac8d95607 h: refs/heads/master i: 93019: 2615885bcaa4e8168d247331cad7e2f67368ccff v: v3 --- [refs] | 2 +- trunk/drivers/mtd/nftlmount.c | 5 ----- trunk/include/linux/mtd/nftl.h | 5 +++++ 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index f058d5d1ea49..58c6e2377832 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a8e8aa25694f1781fafee4ee8e8f393e4b979b36 +refs/heads/master: 51ee83df6151a3e618e65236e304e00ac8d95607 diff --git a/trunk/drivers/mtd/nftlmount.c b/trunk/drivers/mtd/nftlmount.c index 0513cbc8834d..345e6eff89ce 100644 --- a/trunk/drivers/mtd/nftlmount.c +++ b/trunk/drivers/mtd/nftlmount.c @@ -33,11 +33,6 @@ char nftlmountrev[]="$Revision: 1.41 $"; -extern int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, - size_t *retlen, uint8_t *buf); -extern int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, - size_t *retlen, uint8_t *buf); - /* find_boot_record: Find the NFTL Media Header and its Spare copy which contains the * various device information of the NFTL partition and Bad Unit Table. Update * the ReplUnitTable[] table accroding to the Bad Unit Table. ReplUnitTable[] diff --git a/trunk/include/linux/mtd/nftl.h b/trunk/include/linux/mtd/nftl.h index bcf2fb3fa4a7..001eec50cac6 100644 --- a/trunk/include/linux/mtd/nftl.h +++ b/trunk/include/linux/mtd/nftl.h @@ -43,6 +43,11 @@ struct NFTLrecord { int NFTL_mount(struct NFTLrecord *s); int NFTL_formatblock(struct NFTLrecord *s, int block); +int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, + size_t *retlen, uint8_t *buf); +int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, + size_t *retlen, uint8_t *buf); + #ifndef NFTL_MAJOR #define NFTL_MAJOR 93 #endif