]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/emk/common/flash.c
Fix build errors after making flash_get_info() non-static
[karo-tx-uboot.git] / board / emk / common / flash.c
index 330978b9511acd225c8573be4810e45043da0fd7..8579cfaad8d33cfec09ee965d5f276fbab6b7e79 100644 (file)
@@ -82,7 +82,7 @@ flash_info_t  flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
 static ulong flash_get_size(FPWV *addr, flash_info_t *info);
 static void flash_reset(flash_info_t *info);
 static int write_word_amd(flash_info_t *info, FPWV *dest, FPW data);
-static flash_info_t *flash_get_info(ulong base);
+flash_info_t *flash_get_info(ulong base);
 
 /*-----------------------------------------------------------------------
  * flash_init()
@@ -142,7 +142,7 @@ static void flash_reset(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;