Message ID | 20241113050431.1848951-1-caleb.connolly@linaro.org |
---|---|
State | New |
Headers | show |
Series | mach-snapdragon: configure logging | expand |
On 13/11/2024 06:04, Caleb Connolly wrote: > 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 --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; Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On Wed, 13 Nov 2024 06:04:17 +0100, Caleb Connolly wrote: > Set LOG_CATEGORY and pr_fmt. Also fix the time.h include. > > Applied, thanks! [1/1] mach-snapdragon: configure logging commit: f6e628afef415cac48c907533d130ef61fa1fe4a Best regards,
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;
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(-)