aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <[email protected]>2016-01-14 15:44:51 +0100
committerBrian Norris <[email protected]>2016-01-23 14:00:17 -0800
commitd652436102b1580d8d968a2047decbb737cc4e6d (patch)
treeebc5b0eb9deb468c0503d1ec907c7fea956f39c4
parentfd2a2f20c7a8173acd4858e5178eb40fd7c025b9 (diff)
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 <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Brian Norris <[email protected]>
-rw-r--r--drivers/mtd/onenand/onenand_bbt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c
index 5f8d47073c97..680188a88130 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);