uboot-mtk-20250711: mtd_layout: remove reference to common.h
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user