[PATCH 02/16] dm: syscon: Set LOG_CATEGORY

Sean Anderson seanga2 at gmail.com
Mon Oct 5 03:39:43 CEST 2020


We call log_debug, but do not have a category set.

Signed-off-by: Sean Anderson <seanga2 at gmail.com>
---

 drivers/core/syscon-uclass.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c
index 5be1d527a0..509b09845a 100644
--- a/drivers/core/syscon-uclass.c
+++ b/drivers/core/syscon-uclass.c
@@ -4,6 +4,8 @@
  * Written by Simon Glass <sjg at chromium.org>
  */
 
+#define LOG_CATEGORY UCLASS_SYSCON
+
 #include <common.h>
 #include <log.h>
 #include <syscon.h>
-- 
2.28.0



More information about the U-Boot mailing list