include: Add missing headers guard
Add missing headers guard Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
67ca176754
commit
4a211ec241
|
@ -5,6 +5,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_ARCH_ARM_CORE_CORTEX_M_MPU_ARM_MPU_V7_INTERNAL_H_
|
||||
#define ZEPHYR_ARCH_ARM_CORE_CORTEX_M_MPU_ARM_MPU_V7_INTERNAL_H_
|
||||
|
||||
/* Global MPU configuration at system initialization. */
|
||||
static void _mpu_init(void)
|
||||
{
|
||||
|
@ -227,3 +230,5 @@ static inline int _mpu_buffer_validate(void *addr, size_t size, int write)
|
|||
#endif /* CONFIG_USERSPACE */
|
||||
|
||||
#endif /* USERSPACE || MPU_STACK_GUARD || APPLICATION_MEMORY */
|
||||
|
||||
#endif /* ZEPHYR_ARCH_ARM_CORE_CORTEX_M_MPU_ARM_MPU_V7_INTERNAL_H_ */
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_ARCH_ARM_CORE_CORTEX_M_MPU_ARM_MPU_V8_INTERNAL_H_
|
||||
#define ZEPHYR_ARCH_ARM_CORE_CORTEX_M_MPU_ARM_MPU_V8_INTERNAL_H_
|
||||
|
||||
#include <cmse.h>
|
||||
|
||||
/* Global MPU configuration at system initialization. */
|
||||
|
@ -137,3 +140,5 @@ static inline int _mpu_buffer_validate(void *addr, size_t size, int write)
|
|||
return -EPERM;
|
||||
}
|
||||
#endif /* USERSPACE || MPU_STACK_GUARD || APPLICATION_MEMORY */
|
||||
|
||||
#endif /* ZEPHYR_ARCH_ARM_CORE_CORTEX_M_MPU_ARM_MPU_V8_INTERNAL_H_ */
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef _XTENSA_ASM2_H
|
||||
#define _XTENSA_ASM2_H
|
||||
#ifndef ZEPHYR_ARCH_XTENSA_INCLUDE_XTENSA_ASM2_H_
|
||||
#define ZEPHYR_ARCH_XTENSA_INCLUDE_XTENSA_ASM2_H_
|
||||
|
||||
#include "xtensa-asm2-context.h"
|
||||
|
||||
|
@ -20,4 +20,4 @@ void *xtensa_init_stack(int *stack_top,
|
|||
void (*entry)(void *, void *, void *),
|
||||
void *arg1, void *arg2, void *arg3);
|
||||
|
||||
#endif /* _XTENSA_ASM2_H */
|
||||
#endif /* ZEPHYR_ARCH_XTENSA_INCLUDE_XTENSA_ASM2_H_ */
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_PIPE_H_
|
||||
#define ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_PIPE_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -55,3 +58,5 @@ int uart_pipe_send(const u8_t *data, int len);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_PIPE_H_ */
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC2520_H_
|
||||
#define ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC2520_H_
|
||||
|
||||
#include <device.h>
|
||||
|
||||
enum cc2520_gpio_index {
|
||||
|
@ -23,3 +26,5 @@ struct cc2520_gpio_configuration {
|
|||
};
|
||||
|
||||
struct cc2520_gpio_configuration *cc2520_configure_gpios(void);
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC2520_H_ */
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_DRIVERS_WIFI_WINC1500_H_
|
||||
#define ZEPHYR_INCLUDE_DRIVERS_WIFI_WINC1500_H_
|
||||
|
||||
#include <device.h>
|
||||
|
||||
enum winc1500_gpio_index {
|
||||
|
@ -20,3 +23,5 @@ struct winc1500_gpio_configuration {
|
|||
};
|
||||
|
||||
struct winc1500_gpio_configuration *winc1500_configure_gpios(void);
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_DRIVERS_WIFI_WINC1500_H_ */
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_USB_BOS_H_
|
||||
#define ZEPHYR_INCLUDE_USB_BOS_H_
|
||||
|
||||
#if defined(CONFIG_USB_DEVICE_BOS)
|
||||
#define USB_DEVICE_BOS_DESC_DEFINE_HDR \
|
||||
static __in_section(usb, bos_desc_area, 0) __used
|
||||
|
@ -55,3 +58,5 @@ int usb_handle_bos(struct usb_setup_packet *setup, s32_t *len, u8_t **data);
|
|||
#else
|
||||
#define usb_handle_bos(x, y, z) -ENOTSUP
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_USB_BOS_H_ */
|
||||
|
|
Loading…
Reference in New Issue