summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Trimarchi <[email protected]>2022-07-20 18:22:09 +0200
committerMichael Trimarchi <[email protected]>2022-07-22 13:29:06 +0200
commita1286a1fc41633f45a4fa9dbf0be5eba3deadc09 (patch)
treeaf09a47ee2ce3d184ebedaab1d373ee1d3f225d9 /include
parentbded7d819ff3b8a364ff57ab00a90d6e20bb6850 (diff)
mtd: nand: Move Samsung specific init/detection logic in nand_samsung.c
Upstream linux commit c51d0ac59f2420. Move Samsung specific initialization and detection logic into nand_samsung.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')
-rw-r--r--include/linux/mtd/rawnand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index 8fb2a43296f..d0312e924b4 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -1158,6 +1158,8 @@ struct nand_manufacturers {
extern struct nand_flash_dev nand_flash_ids[];
extern struct nand_manufacturers nand_manuf_ids[];
+extern const struct nand_manufacturer_ops samsung_nand_manuf_ops;
+
int nand_default_bbt(struct mtd_info *mtd);
int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);
int nand_isreserved_bbt(struct mtd_info *mtd, loff_t offs);