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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user