CFI: Fix CONFIG_FLASH_CFI_LEGACY compilation
authorMichael Schwingen <rincewind@discworld.dascon.de>
Sat, 12 Jan 2008 19:29:47 +0000 (20:29 +0100)
committerStefan Roese <sr@denx.de>
Sun, 13 Jan 2008 14:07:26 +0000 (15:07 +0100)
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Acked-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c

index 4f61e36..eb509f5 100644 (file)
@@ -1446,11 +1446,11 @@ static void flash_read_jedec_ids (flash_info_t * info)
        switch (info->vendor) {
        case CFI_CMDSET_INTEL_STANDARD:
        case CFI_CMDSET_INTEL_EXTENDED:
-               flash_read_jedec_ids_intel(info);
+               cmdset_intel_read_jedec_ids(info);
                break;
        case CFI_CMDSET_AMD_STANDARD:
        case CFI_CMDSET_AMD_EXTENDED:
-               flash_read_jedec_ids_amd(info);
+               cmdset_amd_read_jedec_ids(info);
                break;
        default:
                break;