summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-09-22 11:42:31 +0530
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-09 17:02:50 +0200
commit0131950ebd146b5e31508233352d6f4625af25b1 (patch)
tree6b6cd4c7cb89a90fd3bb0bb36398119913e40865
parentc36a7ff4578ab6294885aef5ef241aeec4cdb1f0 (diff)
downloadop-kernel-dev-0131950ebd146b5e31508233352d6f4625af25b1.zip
op-kernel-dev-0131950ebd146b5e31508233352d6f4625af25b1.tar.gz
mtd: onenand: Make flexonenand_set_boundary static
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? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r--drivers/mtd/onenand/onenand_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 7153e0d2..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;
OpenPOWER on IntegriCloud