Fixes: 57b8b2d03dbd ("mtd: implement proper partition handling") Signed-off-by: kbuild test robot <lkp@xxxxxxxxx> --- mtdpart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 93ef8fdf1634b0..3f6025684f5890 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -315,7 +315,7 @@ static int __mtd_del_partition(struct mtd_info *mtd) * This function unregisters and destroy all slave MTD objects which are * attached to the given MTD object, recursively. */ -int __del_mtd_partitions(struct mtd_info *mtd) +static int __del_mtd_partitions(struct mtd_info *mtd) { struct mtd_info *child, *next; LIST_HEAD(tmp_list);