aboutsummaryrefslogtreecommitdiff
path: root/board/evb64260/flash.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-02-18 21:35:38 +0100
committerWolfgang Denk <wd@denx.de>2009-02-18 22:40:08 +0100
commitb8845abdc0dcf20d0944e965153f5ae7a9c3077c (patch)
tree13a8ac19761b46cd842ab766b6ed227b0bef2895 /board/evb64260/flash.c
parent5f0320108870e5d62983d1d5c13a2a087dddf686 (diff)
Fix build errors after making flash_get_info() non-static
Fix for these build problems: error: static declaration of 'flash_get_info' follows non-static declaration Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/evb64260/flash.c')
-rw-r--r--board/evb64260/flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/evb64260/flash.c b/board/evb64260/flash.c
index 115e8cd4d..825bbaf70 100644
--- a/board/evb64260/flash.c
+++ b/board/evb64260/flash.c
@@ -54,7 +54,6 @@ flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
static ulong flash_get_size (int portwidth, vu_long *addr, flash_info_t *info);
static int write_word (flash_info_t *info, ulong dest, ulong data);
static void flash_get_offsets (ulong base, flash_info_t *info);
-static flash_info_t *flash_get_info(ulong base);
/*-----------------------------------------------------------------------
*/
@@ -178,7 +177,7 @@ flash_get_offsets (ulong base, flash_info_t *info)
/*-----------------------------------------------------------------------
*/
-static flash_info_t *flash_get_info(ulong base)
+flash_info_t *flash_get_info(ulong base)
{
int i;
flash_info_t * info;