mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
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>
This commit is contained in:
parent
7bb427990e
commit
8cfb9ab68f
@ -169,7 +169,7 @@ struct nand_flash_dev nand_flash_ids[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Manufacturer IDs */
|
/* Manufacturer IDs */
|
||||||
struct nand_manufacturers nand_manuf_ids[] = {
|
struct nand_manufacturer nand_manuf_ids[] = {
|
||||||
{NAND_MFR_TOSHIBA, "Toshiba"},
|
{NAND_MFR_TOSHIBA, "Toshiba"},
|
||||||
{NAND_MFR_ESMT, "ESMT"},
|
{NAND_MFR_ESMT, "ESMT"},
|
||||||
{NAND_MFR_SAMSUNG, "Samsung"},
|
{NAND_MFR_SAMSUNG, "Samsung"},
|
||||||
|
@ -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
|
* @name: Manufacturer name
|
||||||
* @id: manufacturer ID code of device.
|
* @id: manufacturer ID code of device.
|
||||||
*/
|
*/
|
||||||
struct nand_manufacturers {
|
struct nand_manufacturer {
|
||||||
int id;
|
int id;
|
||||||
char *name;
|
char *name;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct nand_flash_dev nand_flash_ids[];
|
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_default_bbt(struct mtd_info *mtd);
|
||||||
int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);
|
int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);
|
||||||
|
Loading…
Reference in New Issue
Block a user