Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 607d1cb1 authored by Adrian Bunk's avatar Adrian Bunk Committed by David Woodhouse
Browse files

[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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent eb8e3183
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -17,9 +17,6 @@
#include <linux/mtd/onenand.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/compatmac.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
 * check_short_pattern - [GENERIC] check if a pattern is in the buffer
 * @param buf		the buffer to search
 * @param buf		the buffer to search
+3 −0
Original line number Original line Diff line number Diff line
@@ -187,4 +187,7 @@ struct onenand_manufacturers {
        char *name;
        char *name;
};
};


int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
			 struct mtd_oob_ops *ops);

#endif	/* __LINUX_MTD_ONENAND_H */
#endif	/* __LINUX_MTD_ONENAND_H */