mtd: nand: Rename the nand_manufacturers struct
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 7 Jan 2017 14:15:57 +0000 (15:15 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Mar 2017 22:21:17 +0000 (23:21 +0100)
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>
drivers/mtd/nand/nand_ids.c
include/linux/mtd/nand.h

index 4a2f75b0c200a1135e64941bf24b753c356775a0..3f80cfcb5e37d4769a907a14a8b877c1a8abe2b1 100644 (file)
@@ -169,7 +169,7 @@ struct nand_flash_dev nand_flash_ids[] = {
 };
 
 /* Manufacturer IDs */
-struct nand_manufacturers nand_manuf_ids[] = {
+struct nand_manufacturer nand_manuf_ids[] = {
        {NAND_MFR_TOSHIBA, "Toshiba"},
        {NAND_MFR_ESMT, "ESMT"},
        {NAND_MFR_SAMSUNG, "Samsung"},
index e2c11351b1bdf8c7c17a0cb291c644eaaf134d7b..9c679e8bde428776f52b0661d3fe919eeca67b10 100644 (file)
@@ -1062,17 +1062,17 @@ struct nand_flash_dev {
 };
 
 /**
- * struct nand_manufacturers - NAND Flash Manufacturer ID Structure
+ * struct nand_manufacturer - NAND Flash Manufacturer structure
  * @name:      Manufacturer name
  * @id:                manufacturer ID code of device.
 */
-struct nand_manufacturers {
+struct nand_manufacturer {
        int id;
        char *name;
 };
 
 extern struct nand_flash_dev nand_flash_ids[];
-extern struct nand_manufacturers nand_manuf_ids[];
+extern struct nand_manufacturer nand_manuf_ids[];
 
 int nand_default_bbt(struct mtd_info *mtd);
 int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);