Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6524361 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Brian Norris
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent fd2a2f20
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);