From: Patrice CHOTARD Date: Wed, 21 Oct 2020 12:26:22 +0000 Subject: [Uboot-stm32] [PATCH 10/33] timer: stm32: migrate trace to log macro In-Reply-To: <20201014091646.4233-11-patrick.delaunay@st.com> References: <20201014091646.4233-1-patrick.delaunay@st.com> <20201014091646.4233-11-patrick.delaunay@st.com> Message-ID: <46a765fb-9101-3522-b8d3-65d6eb58cd90@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Patrick On 10/14/20 11:16 AM, Patrick Delaunay wrote: > Define LOG_CATEGORY to allow filtering with log command. > > Signed-off-by: Patrick Delaunay > --- > > drivers/timer/stm32_timer.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/timer/stm32_timer.c b/drivers/timer/stm32_timer.c > index c57fa3f557..f32b2c8925 100644 > --- a/drivers/timer/stm32_timer.c > +++ b/drivers/timer/stm32_timer.c > @@ -4,6 +4,8 @@ > * Author(s): Patrice Chotard, for STMicroelectronics. > */ > > +#define LOG_CATEGORY UCLASS_TIMER > + > #include > #include > #include Reviewed-by: Patrice Chotard Thanks