From: Patrick Delaunay <patrick.delaunay@foss.st.com>
Date: Tue, 20 Jul 2021 18:15:28 +0000 (+0200)
Subject: net: eth-phy: define LOG_CATEGORY
X-Git-Tag: v2025.01-rc5-pxa1908~1784^2~4
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=a5db6e1d814f41ba9a7ae3e2996b7d3d86e94099;p=u-boot.git

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>
---

diff --git a/drivers/net/eth-phy-uclass.c b/drivers/net/eth-phy-uclass.c
index 293579dc34..c04bab944d 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>