mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Acked-by: Kyungmin Park <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]>
This commit is contained in:
parent
c36a7ff457
commit
0131950ebd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue