linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] mtd: nand: remove EXPORT_SYMBOL of nand_scan_bbt()
@ 2016-01-14 14:44 Thomas Petazzoni
  2016-01-14 14:44 ` [PATCH 2/3] mtd: onenand: make onenand_scan_bbt() static Thomas Petazzoni
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2016-01-14 14:44 UTC (permalink / raw)
  To: David Woodhouse, Brian Norris, Kyungmin Park
  Cc: linux-mtd, Boris Brezillon, Thomas Petazzoni

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>
---
 drivers/mtd/nand/nand_bbt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c
index b1d4f81..4dfaf93 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);
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-23 22:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 14:44 [PATCH 1/3] mtd: nand: remove EXPORT_SYMBOL of nand_scan_bbt() Thomas Petazzoni
2016-01-14 14:44 ` [PATCH 2/3] mtd: onenand: make onenand_scan_bbt() static Thomas Petazzoni
2016-01-14 15:56   ` Boris Brezillon
2016-01-14 14:44 ` [PATCH 3/3] mtd: onenand: unexport onenand_default_bbt() Thomas Petazzoni
2016-01-14 15:56   ` Boris Brezillon
2016-01-14 15:17 ` [PATCH 1/3] mtd: nand: remove EXPORT_SYMBOL of nand_scan_bbt() Boris Brezillon
2016-01-23 22:01 ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).