From 09140113108541b95d340f3c7b6ee597d31ccc73 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:03 -0600 Subject: command: Remove the cmd_tbl_t typedef We should not use typedefs in U-Boot. They cannot be used as forward declarations which means that header files must include the full header to access them. Drop the typedef and rename the struct to remove the _s suffix which is now not useful. This requires quite a few header-file additions. Signed-off-by: Simon Glass --- cmd/fastboot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/fastboot.c') diff --git a/cmd/fastboot.c b/cmd/fastboot.c index 1b4215114d7..4f35108a369 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -93,7 +93,8 @@ exit: #endif } -static int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) +static int do_fastboot(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { uintptr_t buf_addr = (uintptr_t)NULL; size_t buf_size = 0; -- cgit v1.2.3 From 1af3c7f422f627a544fec13e436d1a7975e39e73 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:09 -0600 Subject: common: Drop linux/stringify.h from common header Move this uncommon header out of the common header. Signed-off-by: Simon Glass --- cmd/fastboot.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/fastboot.c') diff --git a/cmd/fastboot.c b/cmd/fastboot.c index 4f35108a369..ad5c0649118 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -14,6 +14,7 @@ #include #include #include +#include static int do_fastboot_udp(int argc, char *const argv[], uintptr_t buf_addr, size_t buf_size) -- cgit v1.2.3