summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-06-08 10:42:23 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-03-08 23:21:22 +0100
commit229204da53b31d576fcc1c93a33626943ea8202c (patch)
treed383c2136538b6f79d1b6730e4f9407b324d8566 /include
parent10d4e75c36f6c16311dde1461f318210da357219 (diff)
downloadlinux-229204da53b31d576fcc1c93a33626943ea8202c.tar.gz
linux-229204da53b31d576fcc1c93a33626943ea8202c.tar.bz2
linux-229204da53b31d576fcc1c93a33626943ea8202c.zip
mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.c
Move AMD/Spansion specific initialization/detection logic into nand_amd.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 'include')
-rw-r--r--include/linux/mtd/nand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 7d0f18ecbf57..97dce42778e9 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -1098,6 +1098,7 @@ extern const struct nand_manufacturer_ops toshiba_nand_manuf_ops;
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;
int nand_default_bbt(struct mtd_info *mtd);
int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);