[MTD NAND] Export nand_wait_ready() for use by board drivers

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Sep 25 12:59:01 EDT 2006


Commit:     4b648b0253c0976e944ea07e38a2d53ad4d0b30e
Parent:     08d3ad6a518051bfaefd5d6a8005e20c036996c3
commit 4b648b0253c0976e944ea07e38a2d53ad4d0b30e
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Mon Sep 25 17:05:24 2006 +0100
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Mon Sep 25 17:05:24 2006 +0100

    [MTD NAND] Export nand_wait_ready() for use by board drivers
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/nand/nand_base.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 975b2ef..8da8862 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -415,7 +415,7 @@ static int nand_block_checkbad(struct mt
  * Wait for the ready pin, after a command
  * The timeout is catched later.
  */
-static void nand_wait_ready(struct mtd_info *mtd)
+void nand_wait_ready(struct mtd_info *mtd)
 {
 	struct nand_chip *chip = mtd->priv;
 	unsigned long timeo = jiffies + 2;
@@ -429,6 +429,7 @@ static void nand_wait_ready(struct mtd_i
 	} while (time_before(jiffies, timeo));
 	led_trigger_event(nand_led_trigger, LED_OFF);
 }
+EXPORT_SYMBOL_GPL(nand_wait_ready);
 
 /**
  * nand_command - [DEFAULT] Send command to NAND device



More information about the linux-mtd-cvs mailing list