]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: stmfx: define LOG_CATEGORY
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 10 Nov 2021 17:14:10 +0000 (18:14 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 30 Nov 2021 10:20:34 +0000 (11:20 +0100)
Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/pinctrl/pinctrl-stmfx.c

index fe7a59d43137709cc8c7b3832bb53fed70cb3969..509e2a80e9a590c64ae807beb1c1b15d1860b63c 100644 (file)
@@ -5,8 +5,12 @@
  * Driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander
  * based on Linux driver : pinctrl/pinctrl-stmfx.c
  */
+
+#define LOG_CATEGORY UCLASS_PINCTRL
+
 #include <common.h>
 #include <dm.h>
+#include <log.h>
 #include <i2c.h>
 #include <asm/gpio.h>
 #include <dm/device.h>