diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-05 07:22:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-03 23:40:11 +0300 |
commit | be04f1ab4291c724a65d86a743b8b7938f15a54c (patch) | |
tree | 8d382178639e72349395c1d5f36d2e4b518533ac /drivers | |
parent | d638a183572dd58899250deb6b5ea2009ce05dc3 (diff) | |
download | u-boot-be04f1ab4291c724a65d86a743b8b7938f15a54c.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-uclass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index f8256786c5..729e41033b 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> |