Browse Source

include: remove deprecated headers

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

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
pull/41936/head
Anas Nashif 4 years ago
parent
commit
01b7800bc8
  1. 2
      drivers/ethernet/eth_e1000.c
  2. 16
      include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h
  3. 17
      include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v7m.h
  4. 17
      include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h
  5. 16
      include/arch/arm/aarch32/cortex_m/mpu/nxp_mpu.h
  6. 21
      include/disk/disk_access.h
  7. 16
      include/ec_host_cmd.h
  8. 17
      include/emul.h
  9. 16
      include/ptp_clock.h
  10. 2
      samples/net/sockets/txtime/src/main.c

2
drivers/ethernet/eth_e1000.c

@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME); @@ -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

16
include/arch/arm/aarch32/cortex_m/mpu/arm_mpu.h

@ -1,16 +0,0 @@ @@ -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_ */

17
include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v7m.h

@ -1,17 +0,0 @@ @@ -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_ */

17
include/arch/arm/aarch32/cortex_m/mpu/arm_mpu_v8m.h

@ -1,17 +0,0 @@ @@ -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_ */

16
include/arch/arm/aarch32/cortex_m/mpu/nxp_mpu.h

@ -1,16 +0,0 @@ @@ -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_ */

21
include/disk/disk_access.h

@ -1,21 +0,0 @@ @@ -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_ */

16
include/ec_host_cmd.h

@ -1,16 +0,0 @@ @@ -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_ */

17
include/emul.h

@ -1,17 +0,0 @@ @@ -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_ */

16
include/ptp_clock.h

@ -1,16 +0,0 @@ @@ -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_ */

2
samples/net/sockets/txtime/src/main.c

@ -11,7 +11,7 @@ LOG_MODULE_REGISTER(net_txtime_sample, LOG_LEVEL_DBG); @@ -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>

Loading…
Cancel
Save