aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-06-08 10:22:19 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-03-08 23:21:20 +0100
commitc51d0ac59f24200dfdccc897ff7c3c9446c7599a (patch)
treeebd819900c9b9bca3012d124d3a1abfb07bc069f /include/linux/mtd/nand.h
parentmtd: nand: Add manufacturer specific initialization/detection steps (diff)
downloadlinux-dev-c51d0ac59f24200dfdccc897ff7c3c9446c7599a.tar.xz
linux-dev-c51d0ac59f24200dfdccc897ff7c3c9446c7599a.zip
mtd: nand: Move Samsung specific init/detection logic in nand_samsung.c
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: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to '')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index ee9a19f42293..2f83cb55392f 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -1114,6 +1114,8 @@ nand_manufacturer_name(const struct nand_manufacturer *manufacturer)
extern struct nand_flash_dev nand_flash_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);