[MTD] [OneNAND] proper onenand_bbt_read_oob() prototype
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue Apr 22 11:59:02 EDT 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=607d1cb1042657177bf72247eeb85c0d8416bd51
Commit: 607d1cb1042657177bf72247eeb85c0d8416bd51
Parent: eb8e31831a603f285ee9e6ffc59d5366e0ff8a8e
Author: Adrian Bunk <bunk at kernel.org>
AuthorDate: Mon Apr 14 17:20:38 2008 +0300
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 22 15:59:13 2008 +0100
[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 at kernel.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/onenand/onenand_bbt.c | 3 ---
include/linux/mtd/onenand.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c
index aecdd50..2f53b51 100644
--- a/drivers/mtd/onenand/onenand_bbt.c
+++ b/drivers/mtd/onenand/onenand_bbt.c
@@ -17,9 +17,6 @@
#include <linux/mtd/onenand.h>
#include <linux/mtd/compatmac.h>
-extern int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
- struct mtd_oob_ops *ops);
-
/**
* check_short_pattern - [GENERIC] check if a pattern is in the buffer
* @param buf the buffer to search
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index fd0a260..9aa2a91 100644
--- a/include/linux/mtd/onenand.h
+++ b/include/linux/mtd/onenand.h
@@ -187,4 +187,7 @@ struct onenand_manufacturers {
char *name;
};
+int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
+ struct mtd_oob_ops *ops);
+
#endif /* __LINUX_MTD_ONENAND_H */
More information about the linux-mtd-cvs
mailing list