diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-01 19:31:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-07 08:00:57 -0600 |
commit | 1227a30d0056e8f09e7bb97a555ccfa900afba46 (patch) | |
tree | 8ccc1a891ff38c02169c76ee2eaacd91d77abdd1 /api | |
parent | 2193e160446e78513a4a8dfd95876762286f1fb1 (diff) | |
download | u-boot-1227a30d0056e8f09e7bb97a555ccfa900afba46.tar.gz u-boot-1227a30d0056e8f09e7bb97a555ccfa900afba46.tar.bz2 u-boot-1227a30d0056e8f09e7bb97a555ccfa900afba46.zip |
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 <trini@konsulko.com>
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
@@ -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 2e877a85d1..8fd078c8c4 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 7515c26e8b..264ff53056 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 78becbe39f..3d2d9d6ef4 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> |