summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-14 15:44:49 +0100
committerBrian Norris <computersforpeace@gmail.com>2016-01-23 23:00:14 +0100
commit54ca3cd594db58d65b3670f2af452c1104b09ac6 (patch)
tree7268e24dfb59eff29ddaa12dee06b99b48401a22
parentmtd: nand: sunxi: use mtd_div_by_ws() helper (diff)
downloadlinux-54ca3cd594db58d65b3670f2af452c1104b09ac6.tar.xz
linux-54ca3cd594db58d65b3670f2af452c1104b09ac6.zip
mtd: nand: remove EXPORT_SYMBOL of nand_scan_bbt()
Since commit 17799359e7b3fa6ef4f2bf926cd6821cf7903ecf ("mtd: nand_bbt: make nand_scan_bbt() static"), the nand_scan_bbt() function is marked as static but is still exported using EXPORT_SYMBOL(), which doesn't make much sense. This commit gets rid of the useless EXPORT_SYMBOL. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r--drivers/mtd/nand/nand_bbt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c
index 4b6a7085b442..2fbb523df066 100644
--- a/drivers/mtd/nand/nand_bbt.c
+++ b/drivers/mtd/nand/nand_bbt.c
@@ -1373,5 +1373,3 @@ int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs)
return ret;
}
-
-EXPORT_SYMBOL(nand_scan_bbt);