diff options
| author | Tom Rini <trini@konsulko.com> | 2024-05-01 19:30:42 -0600 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-05-07 08:00:41 -0600 | 
| commit | f01e39cb97b3a3215f2572ccb161d16e55ffb43e (patch) | |
| tree | 1e296b2187234f7bb340b0b924e093349c1a0b4b | |
| parent | 786a5123cba40d8d3fee284b98ce6ea6fbd0d957 (diff) | |
dfu: 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 <mkorpershoek@baylibre.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
| -rw-r--r-- | drivers/dfu/dfu.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_alt.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_mmc.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_mtd.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_nand.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_ram.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_sf.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_virt.c | 1 | 
8 files changed, 0 insertions, 8 deletions
| diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 2adf26e2fe2..540d48fab77 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -6,7 +6,6 @@   * author: Lukasz Majewski <l.majewski@samsung.com>   */ -#include <common.h>  #include <env.h>  #include <errno.h>  #include <log.h> diff --git a/drivers/dfu/dfu_alt.c b/drivers/dfu/dfu_alt.c index ece3d2236f3..e9132936a90 100644 --- a/drivers/dfu/dfu_alt.c +++ b/drivers/dfu/dfu_alt.c @@ -4,7 +4,6 @@   * Lukasz Majewski <l.majewski@majess.pl>   */ -#include <common.h>  #include <log.h>  #include <malloc.h>  #include <errno.h> diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c index 12c54e90ef7..cfa6334e439 100644 --- a/drivers/dfu/dfu_mmc.c +++ b/drivers/dfu/dfu_mmc.c @@ -6,7 +6,6 @@   * author: Lukasz Majewski <l.majewski@samsung.com>   */ -#include <common.h>  #include <log.h>  #include <malloc.h>  #include <errno.h> diff --git a/drivers/dfu/dfu_mtd.c b/drivers/dfu/dfu_mtd.c index 485586989c8..c36ac09189f 100644 --- a/drivers/dfu/dfu_mtd.c +++ b/drivers/dfu/dfu_mtd.c @@ -7,7 +7,6 @@   * Based on dfu_nand.c   */ -#include <common.h>  #include <dfu.h>  #include <mtd.h>  #include <linux/err.h> diff --git a/drivers/dfu/dfu_nand.c b/drivers/dfu/dfu_nand.c index 08e8cf5cdb3..940cfefc986 100644 --- a/drivers/dfu/dfu_nand.c +++ b/drivers/dfu/dfu_nand.c @@ -9,7 +9,6 @@   * author: Lukasz Majewski <l.majewski@samsung.com>   */ -#include <common.h>  #include <log.h>  #include <malloc.h>  #include <errno.h> diff --git a/drivers/dfu/dfu_ram.c b/drivers/dfu/dfu_ram.c index c4f4bd2e482..043acbf022f 100644 --- a/drivers/dfu/dfu_ram.c +++ b/drivers/dfu/dfu_ram.c @@ -8,7 +8,6 @@   * author: Lukasz Majewski <l.majewski@samsung.com>   */ -#include <common.h>  #include <malloc.h>  #include <mapmem.h>  #include <errno.h> diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c index 2dae1593706..7c1c0f9e2dc 100644 --- a/drivers/dfu/dfu_sf.c +++ b/drivers/dfu/dfu_sf.c @@ -3,7 +3,6 @@   * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.   */ -#include <common.h>  #include <malloc.h>  #include <errno.h>  #include <div64.h> diff --git a/drivers/dfu/dfu_virt.c b/drivers/dfu/dfu_virt.c index 29f7a08f672..2c31445af12 100644 --- a/drivers/dfu/dfu_virt.c +++ b/drivers/dfu/dfu_virt.c @@ -2,7 +2,6 @@  /*   * Copyright (C) 2019, STMicroelectronics - All Rights Reserved   */ -#include <common.h>  #include <dfu.h>  #include <errno.h>  #include <log.h> | 
