projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d3ad6
)
[MTD NAND] Export nand_wait_ready() for use by board drivers
author
David Woodhouse
<dwmw2@infradead.org>
Mon, 25 Sep 2006 16:05:24 +0000
(17:05 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Mon, 25 Sep 2006 16:05:24 +0000
(17:05 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/nand_base.c
b/drivers/mtd/nand/nand_base.c
index 975b2ef611215061de098d5027cd72b63cb47463..8da8862d054832c3104d105455ec25e63ee18d25 100644
(file)
--- a/
drivers/mtd/nand/nand_base.c
+++ b/
drivers/mtd/nand/nand_base.c
@@
-415,7
+415,7
@@
static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
* 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_info *mtd)
} 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
This page took
0.026597 seconds
and
5
git commands to generate.