]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: eth-phy: define LOG_CATEGORY
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 20 Jul 2021 18:15:28 +0000 (20:15 +0200)
committerRamon Fried <rfried.dev@gmail.com>
Thu, 22 Jul 2021 19:09:27 +0000 (22:09 +0300)
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>
drivers/net/eth-phy-uclass.c

index 293579dc34e0ef9e50d1687bfe2c64b6e58f2a84..c04bab944d6ec50e7a88e8219f200f2f1b8ab469 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright 2020 NXP
  */
 
+#define LOG_CATEGORY UCLASS_ETH_PHY
+
 #include <common.h>
 #include <dm.h>
 #include <log.h>