[PATCH v2 14/33] power: regulator: stm32-verfbuf: define LOG_CATEGORY
Patrick Delaunay
patrick.delaunay at st.com
Fri Nov 6 19:01:42 CET 2020
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
Reviewed-by: Patrice Chotard <patrice.chotard at st.com>
---
(no changes since v1)
drivers/power/regulator/stm32-vrefbuf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/power/regulator/stm32-vrefbuf.c b/drivers/power/regulator/stm32-vrefbuf.c
index 92136961c2..556579709d 100644
--- a/drivers/power/regulator/stm32-vrefbuf.c
+++ b/drivers/power/regulator/stm32-vrefbuf.c
@@ -6,6 +6,8 @@
* Originally based on the Linux kernel v4.16 drivers/regulator/stm32-vrefbuf.c
*/
+#define LOG_CATEGORY UCLASS_REGULATOR
+
#include <common.h>
#include <clk.h>
#include <dm.h>
--
2.17.1
More information about the U-Boot
mailing list