diff options
| author | Patrick Delaunay <[email protected]> | 2020-11-06 19:01:40 +0100 |
|---|---|---|
| committer | Patrick Delaunay <[email protected]> | 2021-01-13 09:52:58 +0100 |
| commit | 33d797ae035a76920a4ad874429d84ad5dee97da (patch) | |
| tree | 0077e729e7087dbc453c9fd97b302572e93bd6f4 /drivers/rtc | |
| parent | fb5b2463d2bbb6d39c7cb0bfa427730613fa5302 (diff) | |
rtc: stm32: migrate trace to log macro
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'drivers/rtc')
| -rw-r--r-- | drivers/rtc/stm32_rtc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/stm32_rtc.c b/drivers/rtc/stm32_rtc.c index f1d0ea90d3c..1753283460d 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> |
