Browse Source

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>
Simon Glass 3 years ago
parent
commit
be04f1ab42
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/gpio/gpio-uclass.c

+ 2 - 0
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>