From 97c8b930c72fce4cf0cad2017805aa68cadd341b Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Fri, 22 Aug 2025 18:07:45 +0800 Subject: [PATCH] uboot-mtk-20250711: mtd_layout: remove reference to common.h Signed-off-by: Tianling Shen --- uboot-mtk-20250711/board/mediatek/common/mtd_helper.c | 1 + uboot-mtk-20250711/board/mediatek/common/mtd_layout.c | 1 - uboot-mtk-20250711/cmd/showlayout.c | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) 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; }