diff options
Diffstat (limited to 'tests/vboot_api_kernel2_tests.c')
-rw-r--r-- | tests/vboot_api_kernel2_tests.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vboot_api_kernel2_tests.c b/tests/vboot_api_kernel2_tests.c index 14843fe1..c0d621d2 100644 --- a/tests/vboot_api_kernel2_tests.c +++ b/tests/vboot_api_kernel2_tests.c @@ -19,6 +19,7 @@ #include "vboot_kernel.h" #include "vboot_struct.h" #include "vboot_test.h" +#include "vboot_ui_common.h" /* Mock data */ static uint8_t shared_data[VB_SHARED_DATA_MIN_SIZE]; @@ -83,7 +84,7 @@ static void MockGpioAfter(uint32_t ticks, uint32_t gpio_flags) /* Reset mock data (for use before each test) */ static void ResetMocks(void) { - vb2_init_ui(); + vb2_reset_power_button(); memset(&shared_data, 0, sizeof(shared_data)); |