From 8225d1e3ac0ab147cdde4b0042812583380afb8a Mon Sep 17 00:00:00 2001 From: Michael Schwingen Date: Sat, 12 Jan 2008 20:29:47 +0100 Subject: [PATCH] CFI: Fix CONFIG_FLASH_CFI_LEGACY compilation Signed-off-by: Michael Schwingen Acked-by: Stefan Roese --- drivers/mtd/cfi_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 4f61e365e8..eb509f5557 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -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; -- 2.39.5