diff options
| author | Michael Trimarchi <[email protected]> | 2022-07-20 18:22:14 +0200 |
|---|---|---|
| committer | Michael Trimarchi <[email protected]> | 2022-07-22 13:29:06 +0200 |
| commit | c7f7cce5c7a3e3b3735a59061b95d145e7f9eaab (patch) | |
| tree | d4fe0475c7c6b5c0197584615525461e59560c89 /include/linux | |
| parent | bd6adff22f08162be9cec3d2a02f1ef6e670ac16 (diff) | |
mtd: nand: Move Macronix specific initialization in nand_macronix.c
Upstream linux commit 3b5206f4be9b65.
Move Macronix specific initialization logic into nand_macronix.c. This
is part of the "separate vendor specific code from core" cleanup
process.
Signed-off-by: Michael Trimarchi <[email protected]>
Signed-off-by: Dario Binacchi <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/rawnand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index bb1a359a9c1..aa45558b3d4 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -1143,6 +1143,7 @@ extern const struct nand_manufacturer_ops samsung_nand_manuf_ops; extern const struct nand_manufacturer_ops hynix_nand_manuf_ops; extern const struct nand_manufacturer_ops micron_nand_manuf_ops; extern const struct nand_manufacturer_ops amd_nand_manuf_ops; +extern const struct nand_manufacturer_ops macronix_nand_manuf_ops; int nand_default_bbt(struct mtd_info *mtd); int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs); |
