public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: onenand: Make flexonenand_set_boundary static
@ 2012-09-22  6:12 Sachin Kamat
  2012-09-22  6:40 ` Kyungmin Park
  2012-10-05  9:32 ` Artem Bityutskiy
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2012-09-22  6:12 UTC (permalink / raw)
  To: linux-mtd
  Cc: patches, sachin.kamat, artem.bityutskiy, dedekind1, Kyungmin Park,
	dwmw2

Fixes the following sparse warning:
drivers/mtd/onenand/onenand_base.c:3697:5: warning:
symbol 'flexonenand_set_boundary' was not declared. Should it be static?

Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/mtd/onenand/onenand_base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 7153e0d..b3f41f2 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -3694,7 +3694,7 @@ static int flexonenand_check_blocks_erased(struct mtd_info *mtd, int start, int
  * flexonenand_set_boundary	- Writes the SLC boundary
  * @param mtd			- mtd info structure
  */
-int flexonenand_set_boundary(struct mtd_info *mtd, int die,
+static int flexonenand_set_boundary(struct mtd_info *mtd, int die,
 				    int boundary, int lock)
 {
 	struct onenand_chip *this = mtd->priv;
-- 
1.7.4.1

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

end of thread, other threads:[~2012-10-05  9:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-22  6:12 [PATCH] mtd: onenand: Make flexonenand_set_boundary static Sachin Kamat
2012-09-22  6:40 ` Kyungmin Park
2012-10-01 18:10   ` Sachin Kamat
2012-10-05  9:32 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox