Correct SPL use of REGEX

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_REGEX defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-02-05 15:40:37 -07:00 committed by Tom Rini
parent 9dcf5ee586
commit eca0986894

View file

@ -481,7 +481,7 @@ int __maybe_unused board_fit_config_name_match(const char *name)
debug("%s: Check %s, default %s\n", __func__, name, board_name);
#if !defined(CONFIG_SPL_BUILD)
if (CONFIG_IS_ENABLED(REGEX)) {
if (IS_ENABLED(CONFIG_REGEX)) {
struct slre slre;
int ret;