diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-02-03 19:06:15 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-04-19 22:05:56 +0200 |
commit | 41b207a70d3a86b9e2eede155e87838234c7cbd5 (patch) | |
tree | bb4d67d4d372ed58187c446df6c0e755a61b1326 /include/linux/mtd | |
parent | 1bd0b24737710697e0a850fb1983dcdce1d01196 (diff) | |
download | op-kernel-dev-41b207a70d3a86b9e2eede155e87838234c7cbd5.zip op-kernel-dev-41b207a70d3a86b9e2eede155e87838234c7cbd5.tar.gz |
mtd: nand: implement the default mtd_ooblayout_ops
Replace the default nand_ecclayout definitions for large and small page
devices with the equivalent mtd_ooblayout_ops.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/nand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 7e06afb..f2ded7b 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -748,6 +748,9 @@ struct nand_chip { void *priv; }; +extern const struct mtd_ooblayout_ops nand_ooblayout_sp_ops; +extern const struct mtd_ooblayout_ops nand_ooblayout_lp_ops; + static inline void nand_set_flash_node(struct nand_chip *chip, struct device_node *np) { |