diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-07-28 18:29:25 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 10:11:27 -0400 |
commit | d159c4e5fb7b755b9f254768293da7737790ac5b (patch) | |
tree | a38e89783a7128fc572532e133c00eaea34737a1 | |
parent | eceb84b1886acb38e618f3dfb51cd4e53f2ddb97 (diff) |
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@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | 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 24b0a4c3c39f..2f744dd90740 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Overview: | 4 | * Overview: |
5 | * Bad block table support for the NAND driver | 5 | * Bad block table support for the NAND driver |
6 | * | 6 | * |
7 | * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de) | 7 | * Copyright © 2004 Thomas Gleixner (tglx@linutronix.de) |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License version 2 as | 10 | * 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) | |||
1404 | 1404 | ||
1405 | EXPORT_SYMBOL(nand_scan_bbt); | 1405 | EXPORT_SYMBOL(nand_scan_bbt); |
1406 | EXPORT_SYMBOL(nand_default_bbt); | 1406 | EXPORT_SYMBOL(nand_default_bbt); |
1407 | EXPORT_SYMBOL_GPL(nand_update_bbt); | ||