drivers: gnss: move gnss_publish.h in include/

Move gnss_publish.h in include/ so that out of tree drivers and tests
can use it.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-11-26 15:35:04 +00:00 committed by Fabio Baltieri
parent 96b9bd4720
commit f9ab050306
6 changed files with 5 additions and 4 deletions

View file

@ -1103,6 +1103,7 @@ Release Notes:
- doc/hardware/peripherals/gnss.rst
- drivers/gnss/
- include/zephyr/drivers/gnss.h
- include/zephyr/drivers/gnss/
- tests/drivers/build_all/gnss/
- tests/drivers/gnss/
labels:

View file

@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/drivers/gnss/gnss_publish.h>
#include <zephyr/kernel.h>
#include <zephyr/modem/chat.h>
@ -11,7 +12,6 @@
#include "gnss_nmea0183.h"
#include "gnss_nmea0183_match.h"
#include "gnss_publish.h"
static bool gnss_nmea0183_match_timed_out(struct gnss_nmea0183_match_data *data)
{

View file

@ -7,13 +7,13 @@
*/
#include <zephyr/drivers/gnss.h>
#include <zephyr/drivers/gnss/gnss_publish.h>
#include <zephyr/modem/chat.h>
#include <zephyr/modem/backend/uart.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>
#include <string.h>
#include "gnss_publish.h"
#include "gnss_nmea0183.h"
#include "gnss_nmea0183_match.h"
#include "gnss_parse.h"

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "gnss_publish.h"
#include <zephyr/drivers/gnss/gnss_publish.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/iterable_sections.h>

View file

@ -6,6 +6,7 @@
*/
#include <zephyr/drivers/gnss.h>
#include <zephyr/drivers/gnss/gnss_publish.h>
#include <zephyr/modem/chat.h>
#include <zephyr/modem/backend/uart.h>
#include <zephyr/kernel.h>
@ -14,7 +15,6 @@
#include <zephyr/pm/device_runtime.h>
#include <string.h>
#include "gnss_publish.h"
#include "gnss_nmea0183.h"
#include "gnss_nmea0183_match.h"
#include "gnss_parse.h"