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 <tr...@konsulko.com>
---
 test/common/event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/common/event.c b/test/common/event.c
index bfbbf019768e..e77e020b00bc 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;
-- 
2.43.0

Reply via email to