mtd: onenand: unexport onenand_default_bbt()
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Mar 24 11:59:02 PDT 2016
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d652436102b1580d8d968a2047decbb737cc4e6d
Commit: d652436102b1580d8d968a2047decbb737cc4e6d
Parent: fd2a2f20c7a8173acd4858e5178eb40fd7c025b9
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
AuthorDate: Thu Jan 14 15:44:51 2016 +0100
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Sat Jan 23 14:00:17 2016 -0800
mtd: onenand: unexport onenand_default_bbt()
The onenand_default_bbt() function is only used by the OneNAND core
and not by drivers, so there is no real need to export
it. Additionally, the corresponding nand_default_bbt() for regular
NANDs is not exported either, so for consistency reasons, this commit
removes the EXPORT_SYMBOL on onenand_default_bbt().
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Reviewed-by: Boris Brezillon <boris.brezillon at free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
drivers/mtd/onenand/onenand_bbt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c
index 5f8d470..680188a 100644
--- a/drivers/mtd/onenand/onenand_bbt.c
+++ b/drivers/mtd/onenand/onenand_bbt.c
@@ -247,5 +247,3 @@ int onenand_default_bbt(struct mtd_info *mtd)
return onenand_scan_bbt(mtd, bbm->badblock_pattern);
}
-
-EXPORT_SYMBOL(onenand_default_bbt);
More information about the linux-mtd-cvs
mailing list