diff mbox series

mach-snapdragon: configure logging

Message ID 20241113050431.1848951-1-caleb.connolly@linaro.org
State New
Headers show
Series mach-snapdragon: configure logging | expand

Commit Message

Caleb Connolly Nov. 13, 2024, 5:04 a.m. UTC
Set LOG_CATEGORY and pr_fmt. Also fix the time.h include.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 arch/arm/mach-snapdragon/board.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c
index 2ab2ceb51389..bbe9d3de7636 100644
--- a/arch/arm/mach-snapdragon/board.c
+++ b/arch/arm/mach-snapdragon/board.c
@@ -5,9 +5,11 @@ 
  * Copyright (c) 2024 Linaro Ltd.
  * Author: Caleb Connolly <caleb.connolly@linaro.org>
  */
 
-#include "time.h"
+#define LOG_CATEGORY LOGC_BOARD
+#define pr_fmt(fmt) "QCOM: " fmt
+
 #include <asm/armv8/mmu.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/psci.h>
@@ -28,8 +30,9 @@ 
 #include <malloc.h>
 #include <fdt_support.h>
 #include <usb.h>
 #include <sort.h>
+#include <time.h>
 
 #include "qcom-priv.h"
 
 DECLARE_GLOBAL_DATA_PTR;