[PATCH 1/3] net: eth-phy: define LOG_CATEGORY
Ramon Fried
rfried.dev at gmail.com
Thu Apr 29 22:07:22 CEST 2021
On Mon, Apr 26, 2021 at 6:25 PM Patrick Delaunay
<patrick.delaunay at foss.st.com> wrote:
>
> Define LOG_CATEGORY to allow filtering with log command.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>
> drivers/net/eth-phy-uclass.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/eth-phy-uclass.c b/drivers/net/eth-phy-uclass.c
> index 07aebd935e..abb658bf21 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 <net.h>
> --
> 2.17.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>
More information about the U-Boot
mailing list