mtd: nand: nand_bbt: export nand_update_bbt

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Sep 29 10:59:10 EDT 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d159c4e5fb7b755b9f254768293da7737790ac5b
Commit:     d159c4e5fb7b755b9f254768293da7737790ac5b
Parent:     eceb84b1886acb38e618f3dfb51cd4e53f2ddb97
Author:     Fabio Estevam <fabio.estevam at freescale.com>
AuthorDate: Sat Jul 28 19:29:25 2012 -0300
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sat Sep 29 15:11:27 2012 +0100

    mtd: nand: nand_bbt: export nand_update_bbt
    
    When building MTD_NAND_GPMI_NAND as module, the following error shows up:
    
    ERROR: "nand_update_bbt" [drivers/mtd/nand/gpmi-nand/gpmi_nand.ko] undefined!
    
    Export nand_update_bbt to fix it.
    
    Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/nand_bbt.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c
index 24b0a4c..2f744dd 100644
--- a/drivers/mtd/nand/nand_bbt.c
+++ b/drivers/mtd/nand/nand_bbt.c
@@ -4,7 +4,7 @@
  *  Overview:
  *   Bad block table support for the NAND driver
  *
- *  Copyright (C) 2004 Thomas Gleixner (tglx at linutronix.de)
+ *  Copyright © 2004 Thomas Gleixner (tglx at linutronix.de)
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -1404,3 +1404,4 @@ int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt)
 
 EXPORT_SYMBOL(nand_scan_bbt);
 EXPORT_SYMBOL(nand_default_bbt);
+EXPORT_SYMBOL_GPL(nand_update_bbt);



More information about the linux-mtd-cvs mailing list