Browse Source

net: define LOG_CATEGORY

Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Patrick Delaunay 2 years ago
parent
commit
79d191efa1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      net/eth-uclass.c

+ 2 - 0
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>