From 560e1e005093b1d62c53391d68960237294e7f89 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Fri, 19 Nov 2021 15:12:07 +0100 Subject: clk: define LOG_CATEGORY for generic and ccf clocks Define LOG_CATEGORY to allow filtering with log command for generic clock and CCF clocks. This patch also change existing printf, debug and pr_ macro to log_ or dev_ macro. Signed-off-by: Patrick Delaunay Reviewed-by: Sean Anderson --- drivers/clk/clk-composite.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/clk/clk-composite.c') diff --git a/drivers/clk/clk-composite.c b/drivers/clk/clk-composite.c index 12288e10b3..6eb2b8133a 100644 --- a/drivers/clk/clk-composite.c +++ b/drivers/clk/clk-composite.c @@ -4,9 +4,12 @@ * Copyright 2019 NXP */ +#define LOG_CATEGORY UCLASS_CLK + #include #include #include +#include #include #include #include -- cgit v1.2.3