uboot-mtk-20250711: mtd_layout: remove reference to common.h

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2025-08-22 18:07:45 +08:00
committed by hanwckf
parent 674623b0fe
commit 97c8b930c7
3 changed files with 2 additions and 3 deletions

View File

@@ -8,6 +8,7 @@
*/ */
#include <env.h> #include <env.h>
#include <exports.h>
#include <errno.h> #include <errno.h>
#include <image.h> #include <image.h>
#include <memalign.h> #include <memalign.h>

View File

@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
#include <common.h>
#include <command.h> #include <command.h>
#include <env.h> #include <env.h>
#include <mtd_node.h> #include <mtd_node.h>

View File

@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
#include <common.h>
#include <command.h> #include <command.h>
#include <dm/ofnode.h> #include <dm/ofnode.h>
@@ -20,7 +19,7 @@ static int do_showlayout(struct cmd_tbl *cmdtp, int flag, int argc, char *const
} else { } else {
printf("get mtd layout failed!\n"); printf("get mtd layout failed!\n");
} }
return CMD_RET_SUCCESS; return CMD_RET_SUCCESS;
} }