]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
part: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Sat, 27 Apr 2024 14:11:01 +0000 (08:11 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:05:04 +0000 (15:05 -0600)
Remove <common.h> from all "part/" files and when needed add
missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
disk/disk-uclass.c
disk/part.c
disk/part_amiga.c
disk/part_dos.c
disk/part_efi.c
disk/part_iso.c
disk/part_mac.c

index efe4bf1f9490ba8e972569a7ac8aa61b25c21de5..ee3cc4407d76bee65bb5b5ef48209ed8ce5c3f89 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_PARTITION
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <log.h>
index 2bee6695828a4a1f5dcf0f6a83d332a16ad2323b..bc932526f906af54e348c1ef31a80b33ca5db105 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <env.h>
index 65e30fea558d5ccbcddc3b167cb62b92f0ade3e1..9b0f2fe749854355470b4034831b66367c5b08de 100644 (file)
@@ -4,12 +4,12 @@
  * Hans-Joerg Frieden, Hyperion Entertainment
  * Hans-JoergF@hyperion-entertainment.com
  */
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <ide.h>
 #include "part_amiga.h"
 #include <part.h>
+#include <vsprintf.h>
 
 #undef AMIGA_DEBUG
 
index 567ead7511de747674f89850b3fc18c0c526d0d4..e6b5295e0ec4d70ae494d0cca0b159f1642d6f1f 100644 (file)
  * http://developer.apple.com/techpubs/mac/Devices/Devices-126.html#MARKER-14-92
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <ide.h>
 #include <memalign.h>
+#include <vsprintf.h>
 #include <asm/unaligned.h>
 #include <linux/compiler.h>
 #include "part_dos.h"
index 4ce9243ef25cdb3fa66275e49597af092867c0bb..b1a03bd165e07f497df93d66da6acf4415efbd9a 100644 (file)
@@ -12,7 +12,6 @@
 
 #define LOG_CATEGORY LOGC_FS
 
-#include <common.h>
 #include <blk.h>
 #include <log.h>
 #include <part.h>
index 6ac6d95be92171929069098e6e5997772d7b7577..6e05b2feffbab4073c309d56cc24dc14199b0846 100644 (file)
@@ -4,7 +4,6 @@
  * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <part.h>
index db5e203be59257a4bb9d011cbd2fe93efaf45a09..81a65823be9939d72b4441d3e3c462b95e236c21 100644 (file)
@@ -12,7 +12,6 @@
  * http://developer.apple.com/techpubs/mac/Devices/Devices-126.html#MARKER-14-92
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <memalign.h>