diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-14 10:20:38 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-22 10:59:13 -0400 |
commit | 607d1cb1042657177bf72247eeb85c0d8416bd51 (patch) | |
tree | bb053ef693d3bfed18717c0aae776338cf63f3cd /drivers/mtd | |
parent | eb8e31831a603f285ee9e6ffc59d5366e0ff8a8e (diff) |
[MTD] [OneNAND] proper onenand_bbt_read_oob() prototype
This patch adds a proper prototype for onenand_bbt_read_oob() in
include/linux/mtd/onenand.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/onenand/onenand_bbt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c index aecdd50a1781..2f53b51c6805 100644 --- a/drivers/mtd/onenand/onenand_bbt.c +++ b/drivers/mtd/onenand/onenand_bbt.c | |||
@@ -17,9 +17,6 @@ | |||
17 | #include <linux/mtd/onenand.h> | 17 | #include <linux/mtd/onenand.h> |
18 | #include <linux/mtd/compatmac.h> | 18 | #include <linux/mtd/compatmac.h> |
19 | 19 | ||
20 | extern int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, | ||
21 | struct mtd_oob_ops *ops); | ||
22 | |||
23 | /** | 20 | /** |
24 | * check_short_pattern - [GENERIC] check if a pattern is in the buffer | 21 | * check_short_pattern - [GENERIC] check if a pattern is in the buffer |
25 | * @param buf the buffer to search | 22 | * @param buf the buffer to search |