summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-14 17:20:00 +0300
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 15:54:29 +0100
commit51ee83df6151a3e618e65236e304e00ac8d95607 (patch)
tree32037065e354d7625b7aa8f6acd9f91803ed82f5 /drivers/mtd
parenta8e8aa25694f1781fafee4ee8e8f393e4b979b36 (diff)
downloadlinux-stable-51ee83df6151a3e618e65236e304e00ac8d95607.tar.gz
linux-stable-51ee83df6151a3e618e65236e304e00ac8d95607.tar.bz2
linux-stable-51ee83df6151a3e618e65236e304e00ac8d95607.zip
[MTD] proper prototypes for nftl_{read,write}_oob()
This patch adds proper prototypes for nftl_{read,write}_oob() in include/linux/mtd/nftl.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nftlmount.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/nftlmount.c b/drivers/mtd/nftlmount.c
index 0513cbc8834d..345e6eff89ce 100644
--- a/drivers/mtd/nftlmount.c
+++ b/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[]