diff options
Diffstat (limited to 'drivers/mtd/devices/doc2000.c')
-rw-r--r-- | drivers/mtd/devices/doc2000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/doc2000.c b/drivers/mtd/devices/doc2000.c index a4eb8b5b85ec..363ec3c55d92 100644 --- a/drivers/mtd/devices/doc2000.c +++ b/drivers/mtd/devices/doc2000.c | |||
@@ -379,7 +379,7 @@ static int DoC_IdentChip(struct DiskOnChip *doc, int floor, int chip) | |||
379 | 379 | ||
380 | /* Print and store the manufacturer and ID codes. */ | 380 | /* Print and store the manufacturer and ID codes. */ |
381 | for (i = 0; nand_flash_ids[i].name != NULL; i++) { | 381 | for (i = 0; nand_flash_ids[i].name != NULL; i++) { |
382 | if (id == nand_flash_ids[i].id) { | 382 | if (id == nand_flash_ids[i].dev_id) { |
383 | /* Try to identify manufacturer */ | 383 | /* Try to identify manufacturer */ |
384 | for (j = 0; nand_manuf_ids[j].id != 0x0; j++) { | 384 | for (j = 0; nand_manuf_ids[j].id != 0x0; j++) { |
385 | if (nand_manuf_ids[j].id == mfr) | 385 | if (nand_manuf_ids[j].id == mfr) |