aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorPatrick Delaunay2021-07-20 20:15:28 +0200
committerRamon Fried2021-07-22 22:09:27 +0300
commita5db6e1d814f41ba9a7ae3e2996b7d3d86e94099 (patch)
treed73ca3d1a47da582de4d5ddc1148fa309ee0d485 /drivers/net
parentc6a0df2d1dee30d241ce9831178f5de17dd4a61e (diff)
net: eth-phy: 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 'drivers/net')
-rw-r--r--drivers/net/eth-phy-uclass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/eth-phy-uclass.c b/drivers/net/eth-phy-uclass.c
index 293579dc34e..c04bab944d6 100644
--- a/drivers/net/eth-phy-uclass.c
+++ b/drivers/net/eth-phy-uclass.c
@@ -3,6 +3,8 @@
* Copyright 2020 NXP
*/
+#define LOG_CATEGORY UCLASS_ETH_PHY
+
#include <common.h>
#include <dm.h>
#include <log.h>