mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 06:24:17 +00:00
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>
This commit is contained in:
parent
7a765a37b3
commit
5c2ad07997
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue