From: Patrick Delaunay <patrick.delaunay@st.com> Date: Fri, 6 Nov 2020 18:01:38 +0000 (+0100) Subject: timer: stm32: migrate trace to log macro X-Git-Tag: v2025.01-rc5-pxa1908~2067^2~29 X-Git-Url: http://git.dujemihanovic.xyz/html/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=1ac7d52d476168a71243e1aea21a37d6e6dafc98;p=u-boot.git timer: stm32: migrate trace to log macro Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> --- diff --git a/drivers/timer/stm32_timer.c b/drivers/timer/stm32_timer.c index 215334f1b8..e34f5202fc 100644 --- a/drivers/timer/stm32_timer.c +++ b/drivers/timer/stm32_timer.c @@ -4,6 +4,8 @@ * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics. */ +#define LOG_CATEGORY UCLASS_TIMER + #include <common.h> #include <clk.h> #include <dm.h>