tests: onoff: use typedef for spinlock key
This is an opaque type, all the relevant APIs take k_spinlock_key_t. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
50753c1d7d
commit
fd995ca697
1 changed files with 2 additions and 2 deletions
|
@ -1055,7 +1055,7 @@ static void test_cancel_or_release(void)
|
|||
static void test_sync_basic(void)
|
||||
{
|
||||
struct onoff_sync_service srv = {};
|
||||
struct k_spinlock_key key;
|
||||
k_spinlock_key_t key;
|
||||
int res = 5;
|
||||
int rc;
|
||||
|
||||
|
@ -1132,7 +1132,7 @@ static void test_sync_basic(void)
|
|||
static void test_sync_error(void)
|
||||
{
|
||||
struct onoff_sync_service srv = {};
|
||||
struct k_spinlock_key key;
|
||||
k_spinlock_key_t key;
|
||||
int res = -EPERM;
|
||||
int rc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue