mtd: onenand: make onenand_scan_bbt() static
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 14 Jan 2016 14:44:50 +0000 (15:44 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 23 Jan 2016 22:00:16 +0000 (14:00 -0800)
commitfd2a2f20c7a8173acd4858e5178eb40fd7c025b9
tree3c2ac6a43a2a9d9a82a35c5d8f65181643b768a7
parent54ca3cd594db58d65b3670f2af452c1104b09ac6
mtd: onenand: make onenand_scan_bbt() static

Like was done in commit 17799359e7b3fa6ef4f2bf926cd6821cf7903ecf
("mtd: nand_bbt: make nand_scan_bbt() static") for the NAND code, this
commit makes the onenand_scan_bbt() function static in the OneNAND
code, since it is only used in onenand_bbt.c itself.

Consequently, the EXPORT_SYMBOL() and declaration in bbm.h are also
removed.

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>
drivers/mtd/onenand/onenand_bbt.c
include/linux/mtd/bbm.h