[RESEND PATCH 3/3] net: define LOG_CATEGORY

Patrick Delaunay patrick.delaunay at foss.st.com
Tue Jul 20 20:15:30 CEST 2021


Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>
---

 net/eth-uclass.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 5146bd6666..c2a97d723a 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -5,6 +5,8 @@
  * Joe Hershberger, National Instruments
  */
 
+#define LOG_CATEGORY UCLASS_ETH
+
 #include <common.h>
 #include <bootstage.h>
 #include <dm.h>
-- 
2.25.1



More information about the U-Boot mailing list