diff options
author | Patrick Delaunay | 2021-04-27 11:02:19 +0200 |
---|---|---|
committer | Simon Glass | 2021-07-06 10:38:03 -0600 |
commit | b953ec2bca1ebe059366e870eb4bec5e7af9c36b (patch) | |
tree | 7068f05d7cbf19465df4a6c87b29a3599c5de654 /drivers/rtc | |
parent | 85f718f64d65390f385111e57cfa017abd12879d (diff) |
dm: define LOG_CATEGORY for all uclass
Define LOG_CATEGORY for all uclass to allow filtering with
log command.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-uclass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-uclass.c b/drivers/rtc/rtc-uclass.c index b406bab32d1..be6a2ddb667 100644 --- a/drivers/rtc/rtc-uclass.c +++ b/drivers/rtc/rtc-uclass.c @@ -4,6 +4,8 @@ * Written by Simon Glass <sjg@chromium.org> */ +#define LOG_CATEGORY UCLASS_RTC + #include <common.h> #include <dm.h> #include <errno.h> |