projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb5b246
)
rtc: stm32: migrate trace to log macro
author
Patrick Delaunay
<patrick.delaunay@st.com>
Fri, 6 Nov 2020 18:01:40 +0000
(19:01 +0100)
committer
Patrick Delaunay
<patrick.delaunay@foss.st.com>
Wed, 13 Jan 2021 08:52:58 +0000
(09:52 +0100)
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>
drivers/rtc/stm32_rtc.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/stm32_rtc.c
b/drivers/rtc/stm32_rtc.c
index
f1d0ea9
..
1753283
100644
(file)
--- 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>