From c93cc8ed4166e0486d5c09d952695662708cd72c Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 27 Apr 2024 08:11:01 -0600 Subject: [PATCH] part: Remove and add needed includes Remove from all "part/" files and when needed add missing include files directly. Signed-off-by: Tom Rini --- disk/disk-uclass.c | 1 - disk/part.c | 1 - disk/part_amiga.c | 2 +- disk/part_dos.c | 2 +- disk/part_efi.c | 1 - disk/part_iso.c | 1 - disk/part_mac.c | 1 - 7 files changed, 2 insertions(+), 7 deletions(-) diff --git a/disk/disk-uclass.c b/disk/disk-uclass.c index efe4bf1f94..ee3cc4407d 100644 --- a/disk/disk-uclass.c +++ b/disk/disk-uclass.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY UCLASS_PARTITION -#include #include #include #include diff --git a/disk/part.c b/disk/part.c index 2bee669582..bc932526f9 100644 --- a/disk/part.c +++ b/disk/part.c @@ -4,7 +4,6 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include #include #include #include diff --git a/disk/part_amiga.c b/disk/part_amiga.c index 65e30fea55..9b0f2fe749 100644 --- a/disk/part_amiga.c +++ b/disk/part_amiga.c @@ -4,12 +4,12 @@ * Hans-Joerg Frieden, Hyperion Entertainment * Hans-JoergF@hyperion-entertainment.com */ -#include #include #include #include #include "part_amiga.h" #include +#include #undef AMIGA_DEBUG diff --git a/disk/part_dos.c b/disk/part_dos.c index 567ead7511..e6b5295e0e 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -13,11 +13,11 @@ * http://developer.apple.com/techpubs/mac/Devices/Devices-126.html#MARKER-14-92 */ -#include #include #include #include #include +#include #include #include #include "part_dos.h" diff --git a/disk/part_efi.c b/disk/part_efi.c index 4ce9243ef2..b1a03bd165 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -12,7 +12,6 @@ #define LOG_CATEGORY LOGC_FS -#include #include #include #include diff --git a/disk/part_iso.c b/disk/part_iso.c index 6ac6d95be9..6e05b2feff 100644 --- a/disk/part_iso.c +++ b/disk/part_iso.c @@ -4,7 +4,6 @@ * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch. */ -#include #include #include #include diff --git a/disk/part_mac.c b/disk/part_mac.c index db5e203be5..81a65823be 100644 --- a/disk/part_mac.c +++ b/disk/part_mac.c @@ -12,7 +12,6 @@ * http://developer.apple.com/techpubs/mac/Devices/Devices-126.html#MARKER-14-92 */ -#include #include #include #include -- 2.39.5