aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-14 17:20:38 +0300
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 15:59:13 +0100
commit607d1cb1042657177bf72247eeb85c0d8416bd51 (patch)
treebb053ef693d3bfed18717c0aae776338cf63f3cd /include/linux/mtd
parenteb8e31831a603f285ee9e6ffc59d5366e0ff8a8e (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 'include/linux/mtd')
-rw-r--r--include/linux/mtd/onenand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index fd0a260e070..9aa2a9149b5 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 */