From: Tom Rini Date: Thu, 2 May 2024 01:30:37 +0000 (-0600) Subject: core: Remove and add needed includes X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=6ec93ba35848d916ad8d695cbdebbbeb38c5d2bd;p=u-boot.git core: Remove and add needed includes Remove from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- diff --git a/drivers/core/acpi.c b/drivers/core/acpi.c index 0ebd288ab4..9f78422892 100644 --- a/drivers/core/acpi.c +++ b/drivers/core/acpi.c @@ -8,7 +8,6 @@ #define LOG_CATEOGRY LOGC_ACPI -#include #include #include #include diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c index a86b9325dd..437080ed77 100644 --- a/drivers/core/device-remove.c +++ b/drivers/core/device-remove.c @@ -10,7 +10,6 @@ #define LOG_CATEGORY LOGC_DM -#include #include #include #include diff --git a/drivers/core/device.c b/drivers/core/device.c index bf7f261cbc..18e2bd02dd 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -8,8 +8,8 @@ * Pavel Herrmann */ -#include #include +#include #include #include #include diff --git a/drivers/core/devres.c b/drivers/core/devres.c index 78914bdf7f..8df08b9102 100644 --- a/drivers/core/devres.c +++ b/drivers/core/devres.c @@ -9,7 +9,6 @@ #define LOG_CATEGORY LOGC_DEVRES -#include #include #include #include diff --git a/drivers/core/dump.c b/drivers/core/dump.c index 841124830e..5ec30d5b3c 100644 --- a/drivers/core/dump.c +++ b/drivers/core/dump.c @@ -3,7 +3,6 @@ * Copyright (c) 2015 Google, Inc */ -#include #include #include #include diff --git a/drivers/core/fdtaddr.c b/drivers/core/fdtaddr.c index 5f27d25114..6be8ea0c0a 100644 --- a/drivers/core/fdtaddr.c +++ b/drivers/core/fdtaddr.c @@ -8,7 +8,6 @@ * Pavel Herrmann */ -#include #include #include #include diff --git a/drivers/core/lists.c b/drivers/core/lists.c index 8034a8f48d..2839a9b737 100644 --- a/drivers/core/lists.c +++ b/drivers/core/lists.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY LOGC_DM -#include #include #include #include diff --git a/drivers/core/of_access.c b/drivers/core/of_access.c index c8db743f52..41f2e09b9c 100644 --- a/drivers/core/of_access.c +++ b/drivers/core/of_access.c @@ -19,7 +19,6 @@ * Linux version. */ -#include #include #include #include diff --git a/drivers/core/of_addr.c b/drivers/core/of_addr.c index b3b3d7ccdd..d7913ab3d2 100644 --- a/drivers/core/of_addr.c +++ b/drivers/core/of_addr.c @@ -6,7 +6,6 @@ * Copyright (c) 2017 Google, Inc */ -#include #include #include #include diff --git a/drivers/core/of_extra.c b/drivers/core/of_extra.c index 59ce9174ad..a3ebe9e9c2 100644 --- a/drivers/core/of_extra.c +++ b/drivers/core/of_extra.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index 21a233f90f..9a5eaaa4d1 100644 --- a/drivers/core/ofnode.c +++ b/drivers/core/ofnode.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY LOGC_DT -#include #include #include #include diff --git a/drivers/core/read.c b/drivers/core/read.c index 1a4a95cdde..55c19f335a 100644 --- a/drivers/core/read.c +++ b/drivers/core/read.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/drivers/core/read_extra.c b/drivers/core/read_extra.c index 5138348827..5a0153a466 100644 --- a/drivers/core/read_extra.c +++ b/drivers/core/read_extra.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c index dd32328098..7ff7834bdf 100644 --- a/drivers/core/regmap.c +++ b/drivers/core/regmap.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY LOGC_DM -#include #include #include #include diff --git a/drivers/core/root.c b/drivers/core/root.c index d4ae652bcf..4bfd08f481 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY UCLASS_ROOT -#include #include #include #include diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c index 6022e7514e..f402bb5d67 100644 --- a/drivers/core/simple-bus.c +++ b/drivers/core/simple-bus.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_SIMPLE_BUS -#include #include #include #include diff --git a/drivers/core/simple-pm-bus.c b/drivers/core/simple-pm-bus.c index 1bb0d86e28..f38372ec60 100644 --- a/drivers/core/simple-pm-bus.c +++ b/drivers/core/simple-pm-bus.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson */ -#include #include #include diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c index a47b8bd3c0..f0e69d7216 100644 --- a/drivers/core/syscon-uclass.c +++ b/drivers/core/syscon-uclass.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_SYSCON -#include #include #include #include diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index e46d5717aa..762536eebc 100644 --- a/drivers/core/uclass.c +++ b/drivers/core/uclass.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY LOGC_DM -#include #include #include #include diff --git a/drivers/core/util.c b/drivers/core/util.c index 81497df85f..108a3bc4da 100644 --- a/drivers/core/util.c +++ b/drivers/core/util.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 Google, Inc */ -#include #include #include #include