summaryrefslogtreecommitdiff
path: root/drivers/rtc/stm32_rtc.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-11-06 19:01:40 +0100
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2021-01-13 09:52:58 +0100
commit33d797ae035a76920a4ad874429d84ad5dee97da (patch)
tree0077e729e7087dbc453c9fd97b302572e93bd6f4 /drivers/rtc/stm32_rtc.c
parentfb5b2463d2bbb6d39c7cb0bfa427730613fa5302 (diff)
rtc: 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>
Diffstat (limited to 'drivers/rtc/stm32_rtc.c')
-rw-r--r--drivers/rtc/stm32_rtc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/stm32_rtc.c b/drivers/rtc/stm32_rtc.c
index f1d0ea90d3..1753283460 100644
--- a/drivers/rtc/stm32_rtc.c
+++ b/drivers/rtc/stm32_rtc.c
@@ -2,6 +2,9 @@
/*
* Copyright (C) 2019, STMicroelectronics - All Rights Reserved
*/
+
+#define LOG_CATEGORY UCLASS_RTC
+
#include <common.h>
#include <clk.h>
#include <dm.h>