diff options
| author | Tom Rini <[email protected]> | 2024-05-01 19:31:37 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-07 08:00:57 -0600 |
| commit | 1227a30d0056e8f09e7bb97a555ccfa900afba46 (patch) | |
| tree | 8ccc1a891ff38c02169c76ee2eaacd91d77abdd1 /api | |
| parent | 2193e160446e78513a4a8dfd95876762286f1fb1 (diff) | |
api: Remove <common.h> and add needed includes
Remove <common.h> from here and when needed add missing include files
directly.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'api')
| -rw-r--r-- | api/api.c | 4 | ||||
| -rw-r--r-- | api/api_display.c | 2 | ||||
| -rw-r--r-- | api/api_net.c | 1 | ||||
| -rw-r--r-- | api/api_storage.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/api/api.c b/api/api.c index 89003c161c2..d22132f62fe 100644 --- a/api/api.c +++ b/api/api.c @@ -7,11 +7,13 @@ #include <config.h> #include <command.h> -#include <common.h> #include <env.h> #include <malloc.h> +#include <time.h> #include <env_internal.h> +#include <vsprintf.h> #include <linux/delay.h> +#include <linux/errno.h> #include <linux/types.h> #include <api_public.h> #include <u-boot/crc.h> diff --git a/api/api_display.c b/api/api_display.c index 2e877a85d14..8fd078c8c4a 100644 --- a/api/api_display.c +++ b/api/api_display.c @@ -3,9 +3,9 @@ * Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <api_public.h> #include <log.h> +#include <linux/types.h> /* TODO(clchiou): add support of video device */ diff --git a/api/api_net.c b/api/api_net.c index 7515c26e8b4..264ff530563 100644 --- a/api/api_net.c +++ b/api/api_net.c @@ -6,7 +6,6 @@ */ #include <config.h> -#include <common.h> #include <net.h> #include <linux/types.h> #include <api_public.h> diff --git a/api/api_storage.c b/api/api_storage.c index 78becbe39fb..3d2d9d6ef4c 100644 --- a/api/api_storage.c +++ b/api/api_storage.c @@ -6,10 +6,10 @@ */ #include <config.h> -#include <common.h> #include <api_public.h> #include <part.h> #include <scsi.h> +#include <linux/types.h> #if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE) #include <usb.h> |
