From: Caleb Connolly Date: Wed, 13 Nov 2024 05:04:17 +0000 (+0100) Subject: mach-snapdragon: configure logging X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=ab76484cf24d206aadcc5caac7e590606df41963;p=u-boot.git mach-snapdragon: configure logging Set LOG_CATEGORY and pr_fmt. Also fix the time.h include. Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly --- diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c index 2ab2ceb513..bbe9d3de76 100644 --- a/arch/arm/mach-snapdragon/board.c +++ b/arch/arm/mach-snapdragon/board.c @@ -6,7 +6,9 @@ * Author: Caleb Connolly */ -#include "time.h" +#define LOG_CATEGORY LOGC_BOARD +#define pr_fmt(fmt) "QCOM: " fmt + #include #include #include @@ -29,6 +31,7 @@ #include #include #include +#include #include "qcom-priv.h"