aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-11-06 21:17:42 +0100
committerAlexander Graf <agraf@suse.de>2017-12-01 13:22:55 +0100
commit9f0770ff9c04c43f71bba076203af61ac62e8f3c (patch)
tree64197972858534dbb71005d83d49ee20e4d177c5 /lib
parent32fc2ac3810d87fe76b1e5671936e2404536e3ef (diff)
downloadu-boot-9f0770ff9c04c43f71bba076203af61ac62e8f3c.zip
u-boot-9f0770ff9c04c43f71bba076203af61ac62e8f3c.tar.gz
u-boot-9f0770ff9c04c43f71bba076203af61ac62e8f3c.tar.bz2
efi_loader: capitalize EFI_LOCATE_SEARCH_TYPE values
Constants should be capitalized. So rename the values of enum efi_locate_search_type. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index b1050e5..1f0f6c3 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -934,11 +934,11 @@ static int efi_search(enum efi_locate_search_type search_type,
int i;
switch (search_type) {
- case all_handles:
+ case ALL_HANDLES:
return 0;
- case by_register_notify:
+ case BY_REGISTER_NOTIFY:
return -1;
- case by_protocol:
+ case BY_PROTOCOL:
for (i = 0; i < ARRAY_SIZE(efiobj->protocols); i++) {
const efi_guid_t *guid = efiobj->protocols[i].guid;
if (guid && !guidcmp(guid, protocol))