[PATCH 26/30] partitions: efi: move header to central location
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Nov 22 00:47:28 PST 2021
The header contains GUIDs and definitions that will become applicable outside
of the GPT partition parser as well, so move them out.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
common/partitions/efi.c | 2 +-
common/partitions/efi.h => include/efi/partition.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename common/partitions/efi.h => include/efi/partition.h (100%)
diff --git a/common/partitions/efi.c b/common/partitions/efi.c
index 135b08901a5c..6d811bfb3b01 100644
--- a/common/partitions/efi.c
+++ b/common/partitions/efi.c
@@ -19,7 +19,7 @@
#include <crc.h>
#include <linux/ctype.h>
-#include "efi.h"
+#include <efi/partition.h>
#include "parser.h"
static const int force_gpt = IS_ENABLED(CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE);
diff --git a/common/partitions/efi.h b/include/efi/partition.h
similarity index 100%
rename from common/partitions/efi.h
rename to include/efi/partition.h
--
2.30.2
More information about the barebox
mailing list