From 3976ccd5f7398659f039d1fdd9f736fccb23dec6 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 5 Oct 2022 11:45:34 +0200 Subject: [PATCH] include: add missing sys/printk.h include Some files were using the printk API without including sys/printk.h Signed-off-by: Gerard Marull-Paretas --- .../hello_world_module/zephyr/hello_world_driver.c | 1 + samples/shields/x_nucleo_53l0a1/src/display_7seg.c | 1 + subsys/mgmt/hawkbit/hawkbit_firmware.c | 1 + subsys/mgmt/updatehub/updatehub_firmware.c | 1 + 4 files changed, 4 insertions(+) diff --git a/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c b/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c index 73629c7027a..24dc39626c4 100644 --- a/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c +++ b/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c @@ -6,6 +6,7 @@ #include "hello_world_driver.h" #include +#include #include /** diff --git a/samples/shields/x_nucleo_53l0a1/src/display_7seg.c b/samples/shields/x_nucleo_53l0a1/src/display_7seg.c index 2d41d158353..58aa4bcc858 100644 --- a/samples/shields/x_nucleo_53l0a1/src/display_7seg.c +++ b/samples/shields/x_nucleo_53l0a1/src/display_7seg.c @@ -8,6 +8,7 @@ #include #include +#include const uint8_t DISPLAY_OFF[4] = { CHAR_OFF, CHAR_OFF, CHAR_OFF, CHAR_OFF }; const uint8_t TEXT_Err[4] = { CHAR_E, CHAR_r, CHAR_r, CHAR_OFF }; diff --git a/subsys/mgmt/hawkbit/hawkbit_firmware.c b/subsys/mgmt/hawkbit/hawkbit_firmware.c index a079ea39b4d..acccc608112 100644 --- a/subsys/mgmt/hawkbit/hawkbit_firmware.c +++ b/subsys/mgmt/hawkbit/hawkbit_firmware.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ #include +#include #include "hawkbit_firmware.h" diff --git a/subsys/mgmt/updatehub/updatehub_firmware.c b/subsys/mgmt/updatehub/updatehub_firmware.c index 6da05072777..e6b8906e1af 100644 --- a/subsys/mgmt/updatehub/updatehub_firmware.c +++ b/subsys/mgmt/updatehub/updatehub_firmware.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ +#include #include #include "updatehub_firmware.h"