diff options
| author | Tom Rini <[email protected]> | 2024-05-01 19:30:45 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-07 08:00:41 -0600 |
| commit | 61595e4e97f7b027922db27f380afabd70042670 (patch) | |
| tree | c4dde850cb46b96307750c4e748e338842569369 /drivers | |
| parent | ac01ed260baa5d0a75340afc8752573ca77ac407 (diff) | |
fastboot: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed
add missing include files directly.
Reviewed-by: Mattijs Korpershoek <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/fastboot/fb_command.c | 2 | ||||
| -rw-r--r-- | drivers/fastboot/fb_common.c | 2 | ||||
| -rw-r--r-- | drivers/fastboot/fb_getvar.c | 2 | ||||
| -rw-r--r-- | drivers/fastboot/fb_mmc.c | 1 | ||||
| -rw-r--r-- | drivers/fastboot/fb_nand.c | 1 |
5 files changed, 3 insertions, 5 deletions
diff --git a/drivers/fastboot/fb_command.c b/drivers/fastboot/fb_command.c index 01443c5d39e..e4484d65aca 100644 --- a/drivers/fastboot/fb_command.c +++ b/drivers/fastboot/fb_command.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 The Android Open Source Project */ -#include <common.h> #include <command.h> #include <console.h> #include <env.h> @@ -13,6 +12,7 @@ #include <fb_nand.h> #include <part.h> #include <stdlib.h> +#include <vsprintf.h> #include <linux/printk.h> /** diff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot/fb_common.c index 3576b067729..12ffb463deb 100644 --- a/drivers/fastboot/fb_common.c +++ b/drivers/fastboot/fb_common.c @@ -11,11 +11,11 @@ */ #include <bcb.h> -#include <common.h> #include <command.h> #include <env.h> #include <fastboot.h> #include <net.h> +#include <vsprintf.h> /** * fastboot_buf_addr - base address of the fastboot download buffer diff --git a/drivers/fastboot/fb_getvar.c b/drivers/fastboot/fb_getvar.c index f65519c57b4..93cbd598e02 100644 --- a/drivers/fastboot/fb_getvar.c +++ b/drivers/fastboot/fb_getvar.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 The Android Open Source Project */ -#include <common.h> #include <env.h> #include <fastboot.h> #include <fastboot-internal.h> @@ -12,6 +11,7 @@ #include <fs.h> #include <part.h> #include <version.h> +#include <vsprintf.h> #include <linux/printk.h> static void getvar_version(char *var_parameter, char *response); diff --git a/drivers/fastboot/fb_mmc.c b/drivers/fastboot/fb_mmc.c index 060918e4910..f11eb66761b 100644 --- a/drivers/fastboot/fb_mmc.c +++ b/drivers/fastboot/fb_mmc.c @@ -4,7 +4,6 @@ */ #include <config.h> -#include <common.h> #include <blk.h> #include <env.h> #include <fastboot.h> diff --git a/drivers/fastboot/fb_nand.c b/drivers/fastboot/fb_nand.c index bbe26ddcc9b..afc64fd5280 100644 --- a/drivers/fastboot/fb_nand.c +++ b/drivers/fastboot/fb_nand.c @@ -5,7 +5,6 @@ */ #include <config.h> -#include <common.h> #include <blk.h> #include <fastboot.h> |
