mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 08:35:38 +00:00
disk: Mark static functions in part_efi.c
Mark all the functions that are only defined locally as static and quiesce W=1 warnings Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> [trini: Add __maybe_unused as it's now seen as unused in some cases] Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
d4fa8da88c
commit
4ea1deb4bf
1 changed files with 3 additions and 3 deletions
|
@ -216,7 +216,7 @@ int get_disk_guid(struct blk_desc *desc, char *guid)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void part_print_efi(struct blk_desc *desc)
|
static void __maybe_unused part_print_efi(struct blk_desc *desc)
|
||||||
{
|
{
|
||||||
ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, desc->blksz);
|
ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, desc->blksz);
|
||||||
gpt_entry *gpt_pte = NULL;
|
gpt_entry *gpt_pte = NULL;
|
||||||
|
@ -258,7 +258,7 @@ void part_print_efi(struct blk_desc *desc)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int part_get_info_efi(struct blk_desc *desc, int part,
|
static int __maybe_unused part_get_info_efi(struct blk_desc *desc, int part,
|
||||||
struct disk_partition *info)
|
struct disk_partition *info)
|
||||||
{
|
{
|
||||||
ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, desc->blksz);
|
ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, desc->blksz);
|
||||||
|
|
Loading…
Add table
Reference in a new issue