Skip to content

Commit

Permalink
[MTD] [OneNAND] proper onenand_bbt_read_oob() prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David Woodhouse committed Apr 22, 2008
1 parent eb8e318 commit 607d1cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/mtd/onenand/onenand_bbt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions include/linux/mtd/onenand.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 607d1cb

Please sign in to comment.