diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/dps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dps.c b/common/dps.c index 8facc57c68..2a05077fbf 100644 --- a/common/dps.c +++ b/common/dps.c @@ -40,7 +40,7 @@ BUILD_ASSERT(K_MORE_PWR > K_LESS_PWR && 100 >= K_MORE_PWR && 100 >= K_LESS_PWR); /* lock for updating timeout value */ -static mutex_t dps_lock; +K_MUTEX_DEFINE(dps_lock); static timestamp_t timeout; static bool is_enabled = true; static int debug_level; |