From 000257dad0b357b5ce6806ff3008c4ad20c79216 Mon Sep 17 00:00:00 2001 From: Gerson Fernando Budke Date: Fri, 20 Jan 2023 17:24:36 +0100 Subject: [PATCH] mgmt: updatehub: Move updatehub.h to header directory This moves updatehub.h file from subsys to public header include folder. Signed-off-by: Gerson Fernando Budke --- .../mgmt/updatehub/include => include/zephyr/mgmt}/updatehub.h | 0 samples/subsys/mgmt/updatehub/src/main.c | 2 +- subsys/mgmt/updatehub/shell.c | 2 +- subsys/mgmt/updatehub/updatehub.c | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename {subsys/mgmt/updatehub/include => include/zephyr/mgmt}/updatehub.h (100%) diff --git a/subsys/mgmt/updatehub/include/updatehub.h b/include/zephyr/mgmt/updatehub.h similarity index 100% rename from subsys/mgmt/updatehub/include/updatehub.h rename to include/zephyr/mgmt/updatehub.h diff --git a/samples/subsys/mgmt/updatehub/src/main.c b/samples/subsys/mgmt/updatehub/src/main.c index e4d22f99834..2b7eb7f67fb 100644 --- a/samples/subsys/mgmt/updatehub/src/main.c +++ b/samples/subsys/mgmt/updatehub/src/main.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include #include diff --git a/subsys/mgmt/updatehub/shell.c b/subsys/mgmt/updatehub/shell.c index fa5919a2e39..e0e0ccf989e 100644 --- a/subsys/mgmt/updatehub/shell.c +++ b/subsys/mgmt/updatehub/shell.c @@ -5,8 +5,8 @@ */ #include +#include -#include "include/updatehub.h" #include "updatehub_firmware.h" #include "updatehub_device.h" #include "updatehub_storage.h" diff --git a/subsys/mgmt/updatehub/updatehub.c b/subsys/mgmt/updatehub/updatehub.c index 2251642aaba..a2f4e6a4470 100644 --- a/subsys/mgmt/updatehub/updatehub.c +++ b/subsys/mgmt/updatehub/updatehub.c @@ -16,8 +16,8 @@ LOG_MODULE_REGISTER(updatehub, CONFIG_UPDATEHUB_LOG_LEVEL); #include #include #include +#include -#include "include/updatehub.h" #include "updatehub_priv.h" #include "updatehub_firmware.h" #include "updatehub_device.h"