aboutsummaryrefslogtreecommitdiffstats
path: root/block/partitions/efi.h
diff options
context:
space:
mode:
Diffstat (limited to 'block/partitions/efi.h')
-rw-r--r--block/partitions/efi.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/block/partitions/efi.h b/block/partitions/efi.h
index 3e8576157575..84b9f36b9e47 100644
--- a/block/partitions/efi.h
+++ b/block/partitions/efi.h
@@ -13,7 +13,6 @@
#include <linux/types.h>
#include <linux/fs.h>
-#include <linux/genhd.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/string.h>
@@ -88,7 +87,7 @@ typedef struct _gpt_entry {
__le64 starting_lba;
__le64 ending_lba;
gpt_entry_attributes attributes;
- efi_char16_t partition_name[72 / sizeof (efi_char16_t)];
+ __le16 partition_name[72/sizeof(__le16)];
} __packed gpt_entry;
typedef struct _gpt_mbr_record {
@@ -113,7 +112,4 @@ typedef struct _legacy_mbr {
__le16 signature;
} __packed legacy_mbr;
-/* Functions */
-extern int efi_partition(struct parsed_partitions *state);
-
#endif