Explorar o código

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 %!s(int64=2) %!d(string=hai) anos
pai
achega
79d191efa1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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>