diff options
| author | Caleb Connolly <[email protected]> | 2024-11-13 06:04:17 +0100 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2024-11-20 17:57:57 +0100 |
| commit | ab76484cf24d206aadcc5caac7e590606df41963 (patch) | |
| tree | 8c7f35883e37a0253639867747563e108b184f82 | |
| parent | c75a535bd3e853d0a0842f9b180cb611455c433e (diff) | |
mach-snapdragon: configure logging
Set LOG_CATEGORY and pr_fmt. Also fix the time.h include.
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Caleb Connolly <[email protected]>
| -rw-r--r-- | arch/arm/mach-snapdragon/board.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c index 2ab2ceb5138..bbe9d3de763 100644 --- a/arch/arm/mach-snapdragon/board.c +++ b/arch/arm/mach-snapdragon/board.c @@ -6,7 +6,9 @@ * Author: Caleb Connolly <[email protected]> */ -#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> @@ -29,6 +31,7 @@ #include <fdt_support.h> #include <usb.h> #include <sort.h> +#include <time.h> #include "qcom-priv.h" |
