aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-11-10 18:14:10 +0100
committerPatrice Chotard <patrice.chotard@foss.st.com>2021-11-30 11:20:34 +0100
commit4c5956086afc1c841d20de639d4cc9a7cfd6b8de (patch)
treefe2526b3027db3c36b7e353f6855a6ee89bfb540
parent0c6079c2a9661a8b2651c6c31c1c840205c5826c (diff)
downloadu-boot-4c5956086afc1c841d20de639d4cc9a7cfd6b8de.zip
u-boot-4c5956086afc1c841d20de639d4cc9a7cfd6b8de.tar.gz
u-boot-4c5956086afc1c841d20de639d4cc9a7cfd6b8de.tar.bz2
pinctrl: stmfx: define LOG_CATEGORY
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>
-rw-r--r--drivers/pinctrl/pinctrl-stmfx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-stmfx.c b/drivers/pinctrl/pinctrl-stmfx.c
index fe7a59d..509e2a8 100644
--- a/drivers/pinctrl/pinctrl-stmfx.c
+++ b/drivers/pinctrl/pinctrl-stmfx.c
@@ -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>