commit | e43eae2ee2081cb3618bd6af0e995525f50aca35 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 04 21:22:08 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Mar 03 15:40:11 2021 -0500 |
tree | 8d382178639e72349395c1d5f36d2e4b518533ac | |
parent | 5935652aa7c2ebd2a0a8467cf46ce17dba176243 [diff] [blame] |
gpio: Define the log category in the uclass This uses log_debug(), etc. but does not define the category. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index f825678..729e410 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>