From df04f7c050d1123718dda172348607d166eba356 Mon Sep 17 00:00:00 2001 From: Piotr Mienkowski Date: Wed, 13 Feb 2019 11:05:17 +0100 Subject: [PATCH] soc: silabs_exx32: register 'soc' logger module 'soc' logger module may be used by any SoC related code located in soc/. An implementation file requiring logger services should include LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL); to use the 'soc' logger instance. Signed-off-by: Piotr Mienkowski --- soc/arm/silabs_exx32/common/soc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/soc/arm/silabs_exx32/common/soc.c b/soc/arm/silabs_exx32/common/soc.c index b3f7f1c22d..d6b67f89ec 100644 --- a/soc/arm/silabs_exx32/common/soc.c +++ b/soc/arm/silabs_exx32/common/soc.c @@ -18,6 +18,10 @@ #include #include +#include + +LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL); + #ifdef CONFIG_CMU_HFCLK_HFXO /** * @brief Initialization parameters for the external high frequency oscillator