projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d638a18
)
gpio: Define the log category in the uclass
author
Simon Glass
<sjg@chromium.org>
Fri, 5 Feb 2021 04:22:08 +0000
(21:22 -0700)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-uclass.c
b/drivers/gpio/gpio-uclass.c
index f8256786c5912a19e8fa08e4312f571fd4a29c88..729e41033bb4dfcf42fa5629ee3089109bc98e5e 100644
(file)
--- a/
drivers/gpio/gpio-uclass.c
+++ b/
drivers/gpio/gpio-uclass.c
@@
-3,6
+3,8
@@
* Copyright (c) 2013 Google, Inc
*/
+#define LOG_CATEGORY UCLASS_GPIO
+
#include <common.h>
#include <dm.h>
#include <log.h>