diff --git a/drivers/modem/modem_receiver.c b/drivers/modem/modem_receiver.c index 3b90a3a51bf..181ad82cdd7 100644 --- a/drivers/modem/modem_receiver.c +++ b/drivers/modem/modem_receiver.c @@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(mdm_receiver, CONFIG_MODEM_LOG_LEVEL); -#include +#include "modem_receiver.h" #define MAX_MDM_CTX CONFIG_MODEM_RECEIVER_MAX_CONTEXTS #define MAX_READ_SIZE 128 diff --git a/include/drivers/modem/modem_receiver.h b/drivers/modem/modem_receiver.h similarity index 100% rename from include/drivers/modem/modem_receiver.h rename to drivers/modem/modem_receiver.h diff --git a/drivers/modem/modem_shell.c b/drivers/modem/modem_shell.c index 4cb908842ea..1337b201f3d 100644 --- a/drivers/modem/modem_shell.c +++ b/drivers/modem/modem_shell.c @@ -20,7 +20,7 @@ #include -#include +#include "modem_receiver.h" static int cmd_modem_list(const struct shell *shell, size_t argc, char *argv[]) diff --git a/drivers/modem/ublox-sara-r4.c b/drivers/modem/ublox-sara-r4.c index d8c55801513..c429e52afd2 100644 --- a/drivers/modem/ublox-sara-r4.c +++ b/drivers/modem/ublox-sara-r4.c @@ -33,7 +33,7 @@ LOG_MODULE_REGISTER(LOG_DOMAIN); #include "udp_internal.h" #endif -#include +#include "modem_receiver.h" #if !defined(CONFIG_MODEM_UBLOX_SARA_R4_MANUAL_MCCMNO) #define CONFIG_MODEM_UBLOX_SARA_R4_MANUAL_MCCMNO "" diff --git a/drivers/modem/wncm14a2a.c b/drivers/modem/wncm14a2a.c index 31bf3735b2d..9b0bc9476e6 100644 --- a/drivers/modem/wncm14a2a.c +++ b/drivers/modem/wncm14a2a.c @@ -33,7 +33,7 @@ LOG_MODULE_REGISTER(LOG_DOMAIN); #include "udp_internal.h" #endif -#include +#include "modem_receiver.h" /* Uncomment the #define below to enable a hexdump of all incoming * data from the modem receiver