aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/nand_base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 975b2ef61121..8da8862d0548 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 mtd_info *mtd, loff_t ofs, int getchip,
415 * Wait for the ready pin, after a command 415 * Wait for the ready pin, after a command
416 * The timeout is catched later. 416 * The timeout is catched later.
417 */ 417 */
418static void nand_wait_ready(struct mtd_info *mtd) 418void nand_wait_ready(struct mtd_info *mtd)
419{ 419{
420 struct nand_chip *chip = mtd->priv; 420 struct nand_chip *chip = mtd->priv;
421 unsigned long timeo = jiffies + 2; 421 unsigned long timeo = jiffies + 2;
@@ -429,6 +429,7 @@ static void nand_wait_ready(struct mtd_info *mtd)
429 } while (time_before(jiffies, timeo)); 429 } while (time_before(jiffies, timeo));
430 led_trigger_event(nand_led_trigger, LED_OFF); 430 led_trigger_event(nand_led_trigger, LED_OFF);
431} 431}
432EXPORT_SYMBOL_GPL(nand_wait_ready);
432 433
433/** 434/**
434 * nand_command - [DEFAULT] Send command to NAND device 435 * nand_command - [DEFAULT] Send command to NAND device