mtd: sharpslpart: make local function sharpsl_nand_cleanup_ftl() static
Fixes the following sparse warnings: drivers/mtd/parsers/sharpslpart.c:222:6: warning: symbol 'sharpsl_nand_cleanup_ftl' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
parent
2e7c7f66b2
commit
911c3a30ca
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ static int sharpsl_nand_init_ftl(struct mtd_info *mtd, struct sharpsl_ftl *ftl)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sharpsl_nand_cleanup_ftl(struct sharpsl_ftl *ftl)
|
static void sharpsl_nand_cleanup_ftl(struct sharpsl_ftl *ftl)
|
||||||
{
|
{
|
||||||
kfree(ftl->log2phy);
|
kfree(ftl->log2phy);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue