Remove misleading typedef and redundant suffix from struct nand_manufacturer.
/* Manufacturer ID list
*/
-static nand_manufacturer_t nand_manuf_ids[] =
+static struct nand_manufacturer nand_manuf_ids[] =
{
{0x0, "unknown"},
{NAND_MFR_TOSHIBA, "Toshiba"},
{
struct nand_flash_controller *controller;
void *controller_priv;
- struct nand_manufacturer_s *manufacturer;
+ struct nand_manufacturer *manufacturer;
struct nand_info_s *device;
int bus_width;
int address_cycles;
NAND_MFR_MICRON = 0x2c,
};
-typedef struct nand_manufacturer_s
+struct nand_manufacturer
{
int id;
char *name;
-} nand_manufacturer_t;
+};
typedef struct nand_info_s
{