Correct SPL use of EFI_DEVICE_PATH_UTIL
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:41 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_DEVICE_PATH_UTIL defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_root_node.c

index a4eb6f4..09699b2 100644 (file)
@@ -58,7 +58,7 @@ efi_status_t efi_root_node_register(void)
                 &efi_guid_device_path_to_text_protocol,
                 &efi_device_path_to_text,
 #endif
-#if CONFIG_IS_ENABLED(EFI_DEVICE_PATH_UTIL)
+#if IS_ENABLED(CONFIG_EFI_DEVICE_PATH_UTIL)
                 /* Device path utilities protocol */
                 &efi_guid_device_path_utilities_protocol,
                 &efi_device_path_utilities,