]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: syscon: Set LOG_CATEGORY
authorSean Anderson <seanga2@gmail.com>
Mon, 5 Oct 2020 01:39:43 +0000 (21:39 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 15 Oct 2020 22:36:55 +0000 (18:36 -0400)
We call log_debug, but do not have a category set.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/syscon-uclass.c

index 5be1d527a0a711c0f03365e556d0a8b899af1997..509b09845ad2730932a35f09a09246378801bf2b 100644 (file)
@@ -4,6 +4,8 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
+#define LOG_CATEGORY UCLASS_SYSCON
+
 #include <common.h>
 #include <log.h>
 #include <syscon.h>