summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-02-26 14:31:09 -0600
committerTom Rini <trini@konsulko.com>2025-03-13 14:21:42 -0600
commit5c2ad0799715e7c02aa98d946a04e526fc5802b0 (patch)
tree1877414642eb0e3d53993db1a32dcadf44527cdc
parent7a765a37b3d4dead659a061561489ccce1276923 (diff)
test: event: Correct usage of IS_ENABLED() macro in test/common/event.c
This file was using IS_ENABLED() to test for CONFIG flags but omitted the CONFIG_ prefix and so did not work as expected. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--test/common/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/event.c b/test/common/event.c
index bfbbf019768..e77e020b00b 100644
--- a/test/common/event.c
+++ b/test/common/event.c
@@ -91,7 +91,7 @@ static int test_event_probe(struct unit_test_state *uts)
struct test_state state;
struct udevice *dev;
- if (!IS_ENABLED(SANDBOX))
+ if (!IS_ENABLED(CONFIG_SANDBOX))
return -EAGAIN;
state.val = 0;