diff --git a/uboot-mtk-20250711/board/mediatek/common/mtd_helper.c b/uboot-mtk-20250711/board/mediatek/common/mtd_helper.c index 307639027..f025fb638 100644 --- a/uboot-mtk-20250711/board/mediatek/common/mtd_helper.c +++ b/uboot-mtk-20250711/board/mediatek/common/mtd_helper.c @@ -8,6 +8,7 @@ */ #include +#include #include #include #include diff --git a/uboot-mtk-20250711/board/mediatek/common/mtd_layout.c b/uboot-mtk-20250711/board/mediatek/common/mtd_layout.c index ae9335376..0cf1c0b79 100644 --- a/uboot-mtk-20250711/board/mediatek/common/mtd_layout.c +++ b/uboot-mtk-20250711/board/mediatek/common/mtd_layout.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include #include #include #include diff --git a/uboot-mtk-20250711/cmd/showlayout.c b/uboot-mtk-20250711/cmd/showlayout.c index 3845cea64..51e162599 100644 --- a/uboot-mtk-20250711/cmd/showlayout.c +++ b/uboot-mtk-20250711/cmd/showlayout.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include #include #include @@ -20,7 +19,7 @@ static int do_showlayout(struct cmd_tbl *cmdtp, int flag, int argc, char *const } else { printf("get mtd layout failed!\n"); } - + return CMD_RET_SUCCESS; }