>From 399b310cd0e7aa8f8270d382659505a896eeaf10 Mon Sep 17 00:00:00 2001
From: John McCarthy <jgmcc@magma.ca>
Date: Tue, 7 Oct 2008 00:03:08 -0400
Subject: [PATCH] Fix typo in cfi_spansion_write_words wrapper.

Signed-off-by: John McCarthy <jgmcc@magma.ca>
---
 src/flash/cfi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git src/flash/cfi.c src/flash/cfi.c
index 4f87463..b6b0a39 100644
--- src/flash/cfi.c
+++ src/flash/cfi.c
@@ -1718,9 +1718,9 @@ int cfi_spansion_write_words(struct flash_bank_s *bank, u8 *word, u32 wordcount,
 	 * nor UnlockBypass and return ERROR_FLASH_OPERATION_FAILED.
 	 */
 	if(cfi_info->max_buf_write_size == 0)
-		return cif_spansion_write_words_UnlockBypass(bank, word, wordcount, address);
+		return cfi_spansion_write_words_UnlockBypass(bank, word, wordcount, address);
 	else
-		return cif_spansion_write_words_Buffered(bank, word, wordcount, address);
+		return cfi_spansion_write_words_Buffered(bank, word, wordcount, address);
 }
 
 int cfi_write_word(struct flash_bank_s *bank, u8 *word, u32 address)
-- 
1.5.4.3

