include: remove deprecated headers

Remove all deprecated headers which were moved to a different location.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-01-17 10:34:52 -05:00
parent 5598ae85c0
commit 01b7800bc8
10 changed files with 2 additions and 138 deletions

View file

@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
#include "eth_e1000_priv.h"
#if defined(CONFIG_ETH_E1000_PTP_CLOCK)
#include <ptp_clock.h>
#include <drivers/ptp_clock.h>
#define PTP_INST_NODEID(n) DT_CHILD(DT_DRV_INST(n), ptp)
#endif

View file

@ -1,16 +0,0 @@
/*
* Copyright (c) 2017 Linaro Limited.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <arch/arm/aarch32/mpu/arm_mpu.h> instead."
#endif
#include <arch/arm/aarch32/mpu/arm_mpu.h>
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_H_ */

View file

@ -1,17 +0,0 @@
/*
* Copyright (c) 2018 Linaro Limited.
* Copyright (c) 2018 Nordic Semiconductor ASA.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_V7M_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_V7M_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <arch/arm/aarch32/mpu/arm_mpu_v7m.h> instead."
#endif
#include <arch/arm/aarch32/mpu/arm_mpu_v7m.h>
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_V7M_H_ */

View file

@ -1,17 +0,0 @@
/*
* Copyright (c) 2018 Linaro Limited.
* Copyright (c) 2018 Nordic Semiconductor ASA.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_V8M_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_V8M_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <arch/arm/aarch32/mpu/arm_mpu_v8m.h> instead."
#endif
#include <arch/arm/aarch32/mpu/arm_mpu_v8m.h>
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_ARM_MPU_V8M_H_ */

View file

@ -1,16 +0,0 @@
/*
* Copyright (c) 2017 Linaro Limited.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_NXP_MPU_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_NXP_MPU_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <arch/arm/aarch32/mpu/nxp_mpu.h> instead."
#endif
#include <arch/arm/aarch32/mpu/nxp_mpu.h>
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_MPU_NXP_MPU_H_ */

View file

@ -1,21 +0,0 @@
/*
* Copyright (c) 2016 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* The header was moved to include/storage/disk_access.h
* This header is deprecated and there for compatibility.
*/
#ifndef ZEPHYR_INCLUDE_DISK_DISK_ACCESS_H_
#define ZEPHYR_INCLUDE_DISK_DISK_ACCESS_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <storage/disk_access.h> instead."
#endif
#include <storage/disk_access.h>
#endif /* ZEPHYR_INCLUDE_DISK_DISK_ACCESS_H_ */

View file

@ -1,16 +0,0 @@
/*
* Copyright (c) 2020 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_EC_HOST_CMD_H_
#define ZEPHYR_INCLUDE_EC_HOST_CMD_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <mgmt/ec_host_cmd.h> instead."
#endif
#include <mgmt/ec_host_cmd.h>
#endif /* ZEPHYR_INCLUDE_EC_HOST_CMD_H_ */

View file

@ -1,17 +0,0 @@
/*
* Copyright (c) 2020 Nordic Semiconductor ASA
* Copyright 2020 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_EMUL_H_
#define ZEPHYR_INCLUDE_EMUL_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <drivers/emul.h> instead."
#endif
#include <drivers/emul.h>
#endif /* ZEPHYR_INCLUDE_EMUL_H_ */

View file

@ -1,16 +0,0 @@
/*
* Copyright (c) 2018 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_PTP_CLOCK_H_
#define ZEPHYR_INCLUDE_PTP_CLOCK_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <drivers/ptp_clock.h> instead."
#endif
#include <drivers/ptp_clock.h>
#endif /* ZEPHYR_INCLUDE_PTP_CLOCK_H_ */

View file

@ -11,7 +11,7 @@ LOG_MODULE_REGISTER(net_txtime_sample, LOG_LEVEL_DBG);
#include <errno.h>
#include <stdio.h>
#include <inttypes.h>
#include <ptp_clock.h>
#include <drivers/ptp_clock.h>
#include <shell/shell.h>
#include <net/net_mgmt.h>