hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/block/partitions/efi.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /************************************************************
23 * EFI GUID Partition Table
34 * Per Intel EFI Specification v1.02
....@@ -5,21 +6,6 @@
56 *
67 * By Matt Domsch <Matt_Domsch@dell.com> Fri Sep 22 22:15:56 CDT 2000
78 * Copyright 2000,2001 Dell Inc.
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
- *
239 ************************************************************/
2410
2511 #ifndef FS_PART_EFI_H_INCLUDED
....@@ -102,7 +88,7 @@
10288 __le64 starting_lba;
10389 __le64 ending_lba;
10490 gpt_entry_attributes attributes;
105
- efi_char16_t partition_name[72 / sizeof (efi_char16_t)];
91
+ __le16 partition_name[72/sizeof(__le16)];
10692 } __packed gpt_entry;
10793
10894 typedef struct _gpt_mbr_record {
....@@ -126,8 +112,5 @@
126112 gpt_mbr_record partition_record[4];
127113 __le16 signature;
128114 } __packed legacy_mbr;
129
-
130
-/* Functions */
131
-extern int efi_partition(struct parsed_partitions *state);
132115
133116 #endif