[PATCH v3 2/5] clk: scmi: define LOG_CATEGORY

Patrick Delaunay patrick.delaunay at foss.st.com
Thu Oct 28 19:13:13 CEST 2021


Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Acked-by: Etienne Carriere <etienne.carriere at linaro.org>
---

(no changes since v1)

 drivers/clk/clk_scmi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/clk/clk_scmi.c b/drivers/clk/clk_scmi.c
index 93a4819501..9a0a6f6643 100644
--- a/drivers/clk/clk_scmi.c
+++ b/drivers/clk/clk_scmi.c
@@ -2,6 +2,9 @@
 /*
  * Copyright (C) 2019-2020 Linaro Limited
  */
+
+#define LOG_CATEGORY UCLASS_CLK
+
 #include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
-- 
2.25.1



More information about the U-Boot mailing list