aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-01-07 09:15:57 -0500
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-03-08 17:21:17 -0500
commit8cfb9ab68f90703d419870fce7ac21ac401399f2 (patch)
tree4bb50f82b6a4337c1056abcb2b89522d958dcc69 /include/linux/mtd
parent7bb427990ee36482afcae859b1883e5fa1244ef2 (diff)
mtd: nand: Rename the nand_manufacturers struct
Drop the 's' at the end of nand_manufacturers since the struct is actually describing a single manufacturer, not a manufacturer table. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/nand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index e2c11351b1bd..9c679e8bde42 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -1062,17 +1062,17 @@ struct nand_flash_dev {
1062}; 1062};
1063 1063
1064/** 1064/**
1065 * struct nand_manufacturers - NAND Flash Manufacturer ID Structure 1065 * struct nand_manufacturer - NAND Flash Manufacturer structure
1066 * @name: Manufacturer name 1066 * @name: Manufacturer name
1067 * @id: manufacturer ID code of device. 1067 * @id: manufacturer ID code of device.
1068*/ 1068*/
1069struct nand_manufacturers { 1069struct nand_manufacturer {
1070 int id; 1070 int id;
1071 char *name; 1071 char *name;
1072}; 1072};
1073 1073
1074extern struct nand_flash_dev nand_flash_ids[]; 1074extern struct nand_flash_dev nand_flash_ids[];
1075extern struct nand_manufacturers nand_manuf_ids[]; 1075extern struct nand_manufacturer nand_manuf_ids[];
1076 1076
1077int nand_default_bbt(struct mtd_info *mtd); 1077int nand_default_bbt(struct mtd_info *mtd);
1078int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs); 1078int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);