summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-11-10 20:14:10 +0300
committerPatrice Chotard <patrice.chotard@foss.st.com>2021-11-30 13:20:34 +0300
commit4c5956086afc1c841d20de639d4cc9a7cfd6b8de (patch)
treefe2526b3027db3c36b7e353f6855a6ee89bfb540 /drivers/pinctrl
parent0c6079c2a9661a8b2651c6c31c1c840205c5826c (diff)
downloadu-boot-4c5956086afc1c841d20de639d4cc9a7cfd6b8de.tar.xz
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>
Diffstat (limited to 'drivers/pinctrl')
-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 fe7a59d431..509e2a80e9 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>