summaryrefslogtreecommitdiff
path: root/disk/part_dos.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2026-02-12 21:44:55 +0100
committerHeinrich Schuchardt <[email protected]>2026-02-15 08:43:58 +0100
commit63d52576e7b7fc39a1e5685065384a4653e4a9ef (patch)
tree3c4b9fa8d313f8fe76cf588d35e1d1a7c012dd63 /disk/part_dos.c
parent136faf7b0cc92af1d38b0db1bfaa5405e884ee2d (diff)
disk: part_dos: Move header to the main include directory
There are two different struct definitions for MBR partition table entries: one in part_dos.h and a nearly identical one in part_efi.h. To enable future consolidation of these two structures, move part_dos.h to the main include directory. This makes it accessible from other parts of the codebase, such as part_efi.h, and is the first step toward removing the redundant definition. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'disk/part_dos.c')
-rw-r--r--disk/part_dos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part_dos.c b/disk/part_dos.c
index 18dd35c9b98..2545cc6bf5d 100644
--- a/disk/part_dos.c
+++ b/disk/part_dos.c
@@ -19,7 +19,7 @@
#include <vsprintf.h>
#include <asm/unaligned.h>
#include <linux/compiler.h>
-#include "part_dos.h"
+#include <part_dos.h>
#include <part.h>
#define DOS_PART_DEFAULT_SECTOR 512