diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-01 19:30:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-07 08:00:41 -0600 |
commit | 6ec93ba35848d916ad8d695cbdebbbeb38c5d2bd (patch) | |
tree | f07a3690a6747983e6c9b3fa2ffa7a264dfea687 | |
parent | 92bb2cd42aee1d1bd3d7ff236e5874f3450d1a35 (diff) | |
download | u-boot-6ec93ba35848d916ad8d695cbdebbbeb38c5d2bd.tar.gz |
core: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/core/acpi.c | 1 | ||||
-rw-r--r-- | drivers/core/device-remove.c | 1 | ||||
-rw-r--r-- | drivers/core/device.c | 2 | ||||
-rw-r--r-- | drivers/core/devres.c | 1 | ||||
-rw-r--r-- | drivers/core/dump.c | 1 | ||||
-rw-r--r-- | drivers/core/fdtaddr.c | 1 | ||||
-rw-r--r-- | drivers/core/lists.c | 1 | ||||
-rw-r--r-- | drivers/core/of_access.c | 1 | ||||
-rw-r--r-- | drivers/core/of_addr.c | 1 | ||||
-rw-r--r-- | drivers/core/of_extra.c | 1 | ||||
-rw-r--r-- | drivers/core/ofnode.c | 1 | ||||
-rw-r--r-- | drivers/core/read.c | 1 | ||||
-rw-r--r-- | drivers/core/read_extra.c | 1 | ||||
-rw-r--r-- | drivers/core/regmap.c | 1 | ||||
-rw-r--r-- | drivers/core/root.c | 1 | ||||
-rw-r--r-- | drivers/core/simple-bus.c | 1 | ||||
-rw-r--r-- | drivers/core/simple-pm-bus.c | 1 | ||||
-rw-r--r-- | drivers/core/syscon-uclass.c | 1 | ||||
-rw-r--r-- | drivers/core/uclass.c | 1 | ||||
-rw-r--r-- | drivers/core/util.c | 1 |
20 files changed, 1 insertions, 20 deletions
diff --git a/drivers/core/acpi.c b/drivers/core/acpi.c index 0ebd288ab42..9f784228921 100644 --- a/drivers/core/acpi.c +++ b/drivers/core/acpi.c @@ -8,7 +8,6 @@ #define LOG_CATEOGRY LOGC_ACPI -#include <common.h> #include <display_options.h> #include <dm.h> #include <log.h> diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c index a86b9325dd8..437080ed778 100644 --- a/drivers/core/device-remove.c +++ b/drivers/core/device-remove.c @@ -10,7 +10,6 @@ #define LOG_CATEGORY LOGC_DM -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> diff --git a/drivers/core/device.c b/drivers/core/device.c index bf7f261cbce..18e2bd02dd5 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -8,8 +8,8 @@ * Pavel Herrmann <morpheus.ibis@gmail.com> */ -#include <common.h> #include <cpu_func.h> +#include <errno.h> #include <event.h> #include <log.h> #include <asm/global_data.h> diff --git a/drivers/core/devres.c b/drivers/core/devres.c index 78914bdf7f2..8df08b91021 100644 --- a/drivers/core/devres.c +++ b/drivers/core/devres.c @@ -9,7 +9,6 @@ #define LOG_CATEGORY LOGC_DEVRES -#include <common.h> #include <log.h> #include <malloc.h> #include <linux/compat.h> diff --git a/drivers/core/dump.c b/drivers/core/dump.c index 841124830ee..5ec30d5b3c1 100644 --- a/drivers/core/dump.c +++ b/drivers/core/dump.c @@ -3,7 +3,6 @@ * Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <mapmem.h> diff --git a/drivers/core/fdtaddr.c b/drivers/core/fdtaddr.c index 5f27d251148..6be8ea0c0a9 100644 --- a/drivers/core/fdtaddr.c +++ b/drivers/core/fdtaddr.c @@ -8,7 +8,6 @@ * Pavel Herrmann <morpheus.ibis@gmail.com> */ -#include <common.h> #include <dm.h> #include <fdt_support.h> #include <log.h> diff --git a/drivers/core/lists.c b/drivers/core/lists.c index 8034a8f48d9..2839a9b7371 100644 --- a/drivers/core/lists.c +++ b/drivers/core/lists.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY LOGC_DM -#include <common.h> #include <errno.h> #include <log.h> #include <dm/device.h> diff --git a/drivers/core/of_access.c b/drivers/core/of_access.c index c8db743f529..41f2e09b9c2 100644 --- a/drivers/core/of_access.c +++ b/drivers/core/of_access.c @@ -19,7 +19,6 @@ * Linux version. */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/global_data.h> diff --git a/drivers/core/of_addr.c b/drivers/core/of_addr.c index b3b3d7ccdd5..d7913ab3d2f 100644 --- a/drivers/core/of_addr.c +++ b/drivers/core/of_addr.c @@ -6,7 +6,6 @@ * Copyright (c) 2017 Google, Inc */ -#include <common.h> #include <log.h> #include <linux/bug.h> #include <linux/libfdt.h> diff --git a/drivers/core/of_extra.c b/drivers/core/of_extra.c index 59ce9174ad0..a3ebe9e9c24 100644 --- a/drivers/core/of_extra.c +++ b/drivers/core/of_extra.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <log.h> #include <linux/libfdt.h> #include <dm/of_access.h> diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index 21a233f90f0..9a5eaaa4d13 100644 --- a/drivers/core/ofnode.c +++ b/drivers/core/ofnode.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY LOGC_DT -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <fdt_support.h> diff --git a/drivers/core/read.c b/drivers/core/read.c index 1a4a95cddea..55c19f335ae 100644 --- a/drivers/core/read.c +++ b/drivers/core/read.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <dm/of_access.h> #include <mapmem.h> diff --git a/drivers/core/read_extra.c b/drivers/core/read_extra.c index 51383488278..5a0153a4661 100644 --- a/drivers/core/read_extra.c +++ b/drivers/core/read_extra.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <dm/of_addr.h> #include <dm/read.h> diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c index dd32328098c..7ff7834bdf0 100644 --- a/drivers/core/regmap.c +++ b/drivers/core/regmap.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY LOGC_DM -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/drivers/core/root.c b/drivers/core/root.c index d4ae652bcfb..4bfd08f4813 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY UCLASS_ROOT -#include <common.h> #include <errno.h> #include <fdtdec.h> #include <log.h> diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c index 6022e7514e0..f402bb5d674 100644 --- a/drivers/core/simple-bus.c +++ b/drivers/core/simple-bus.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_SIMPLE_BUS -#include <common.h> #include <asm/global_data.h> #include <dm.h> #include <dm/simple_bus.h> diff --git a/drivers/core/simple-pm-bus.c b/drivers/core/simple-pm-bus.c index 1bb0d86e289..f38372ec60b 100644 --- a/drivers/core/simple-pm-bus.c +++ b/drivers/core/simple-pm-bus.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <clk.h> #include <dm.h> diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c index a47b8bd3c01..f0e69d7216b 100644 --- a/drivers/core/syscon-uclass.c +++ b/drivers/core/syscon-uclass.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_SYSCON -#include <common.h> #include <log.h> #include <syscon.h> #include <dm.h> diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index e46d5717aa6..762536eebc6 100644 --- a/drivers/core/uclass.c +++ b/drivers/core/uclass.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY LOGC_DM -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/drivers/core/util.c b/drivers/core/util.c index 81497df85ff..108a3bc4dac 100644 --- a/drivers/core/util.c +++ b/drivers/core/util.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <dm/device.h> #include <dm/ofnode.h> #include <dm/read.h> |