[PATCH 5/5] [drivers/nor] Fixed mismatch in prototype
Carsten Schlote
carsten.schlote at gmx.net
Thu Oct 14 07:06:46 EDT 2010
From: Carsten Schlote <c.schlote at konzeptpark.de>
Trivial mismatch between cfi_flash.h and function in cfi_flash.c
Signed-off-by: Carsten Schlote <c.schlote at konzeptpark.de>
---
drivers/nor/cfi_flash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/nor/cfi_flash.c b/drivers/nor/cfi_flash.c
index fa5e5ee..7b9f06c 100644
--- a/drivers/nor/cfi_flash.c
+++ b/drivers/nor/cfi_flash.c
@@ -634,7 +634,7 @@ static int write_buff (struct flash_info *info, const uchar * src, ulong addr, u
return flash_write_cfiword (info, wp, cword);
}
-static int flash_real_protect (struct flash_info *info, long sector, int prot)
+int flash_real_protect (struct flash_info *info, long sector, int prot)
{
int retcode = 0;
--
1.7.2.2.277.gb49c4
More information about the barebox
mailing list