[PATCH v4 15/16] gpio: Define the log category in the uclass
Simon Glass
sjg at chromium.org
Fri Feb 5 05:22:08 CET 2021
This uses log_debug(), etc. but does not define the category. Fix this.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v3)
Changes in v3:
- Split out the log-category change to a separate patch
drivers/gpio/gpio-uclass.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c
index 11fa17c14b2..308e75a1476 100644
--- 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>
--
2.30.0.478.g8a0d178c01-goog
More information about the U-Boot
mailing list