]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gpio: Define the log category in the uclass
authorSimon Glass <sjg@chromium.org>
Fri, 5 Feb 2021 04:22:08 +0000 (21:22 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 3 Mar 2021 20:40:11 +0000 (15:40 -0500)
This uses log_debug(), etc. but does not define the category. Fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/gpio-uclass.c

index f8256786c5912a19e8fa08e4312f571fd4a29c88..729e41033bb4dfcf42fa5629ee3089109bc98e5e 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (c) 2013 Google, Inc
  */
 
+#define LOG_CATEGORY   UCLASS_GPIO
+
 #include <common.h>
 #include <dm.h>
 #include <log.h>