[PATCH v3 15/16] gpio: Define the log category in the uclass
Simon Glass
sjg at chromium.org
Sun Jan 24 22:11:54 CET 2021
This uses log_debug(), etc. but does not define the category. Fix this.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
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 7f8bbb4eeac..520d7489644 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.280.ga3ce27912f-goog
More information about the U-Boot
mailing list