pm: device_runtime.c: compile error

Enabling device power management together with tracing caused a compile
error.

Fixes: #50107

Signed-off-by: Florian Grandel <jerico.dev@gmail.com>
This commit is contained in:
Florian Grandel 2022-09-09 20:08:35 +02:00 committed by Anas Nashif
parent 32ad01bb48
commit 0956647aaf
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ void sys_trace_k_thread_info(struct k_thread *thread);
SEGGER_SYSVIEW_RecordU32(TID_PM_DEVICE_RUNTIME_ENABLE, \
(uint32_t)(uintptr_t)dev)
#define sys_port_trace_pm_device_runtime_enable_exit(dev, ret) \
SEGGER_SYSVIEW_RecordEndCall(TID_PM_DEVICE_RUNTIME_ENABLE, \
SEGGER_SYSVIEW_RecordEndCallU32(TID_PM_DEVICE_RUNTIME_ENABLE, \
(uint32_t)ret)
#define sys_port_trace_pm_device_runtime_disable_enter(dev) \
SEGGER_SYSVIEW_RecordU32(TID_PM_DEVICE_RUNTIME_DISABLE, \