summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-02-26 11:30:06 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2008-02-26 11:30:06 +0100
commitbe041ab8f457417a3f23a82598d8261f42bc326a (patch)
tree3eec418b022bd676bee4b0fd1654bf069aef9e21
parent3d3c13d8f8238d0ed6e3e23841737de53b2c424f (diff)
downloadbarebox-be041ab8f457417a3f23a82598d8261f42bc326a.tar.gz
barebox-be041ab8f457417a3f23a82598d8261f42bc326a.tar.xz
fix compile bug introduced with last commit
-rw-r--r--drivers/cfi_flash_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cfi_flash_new.c b/drivers/cfi_flash_new.c
index f2d4314b98..cd951d7bf1 100644
--- a/drivers/cfi_flash_new.c
+++ b/drivers/cfi_flash_new.c
@@ -516,7 +516,7 @@ static int cfi_probe (struct device_d *dev)
* when the passed address is greater or equal to the sector address
* we have a match
*/
-static inline flash_sect_t find_sector (flash_info_t * info, ulong addr)
+flash_sect_t find_sector (flash_info_t * info, ulong addr)
{
flash_sect_t sector;