summaryrefslogtreecommitdiff
path: root/net/eth-uclass.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-07-20 20:15:30 +0200
committerRamon Fried <rfried.dev@gmail.com>2021-07-22 22:09:27 +0300
commit79d191efa10b1b3822084eb2008b7917b3c4700f (patch)
tree16691d6207c5c7e46f27d1441ba7961e6f68d0ac /net/eth-uclass.c
parentb547f4bd9e15de1002bd45839c0fe95b0bea799a (diff)
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>
Diffstat (limited to 'net/eth-uclass.c')
-rw-r--r--net/eth-uclass.c2
1 files changed, 2 insertions, 0 deletions
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>