[PATCH 5/5] [drivers/nor] Fixed mismatch in prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Carsten Schlote <c.schlote@xxxxxxxxxxxxxx>

Trivial mismatch between cfi_flash.h and function in cfi_flash.c

Signed-off-by: Carsten Schlote <c.schlote@xxxxxxxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux