Merge branch 'refactor/add_missing_include_path_for_soc_struct_files' into 'master'

Fix check_public_headers violations for soc component

Closes IDF-5397

See merge request espressif/esp-idf!19158
This commit is contained in:
Wan Lei
2022-08-01 10:14:04 +08:00
38 changed files with 208 additions and 478 deletions

View File

@@ -3,9 +3,9 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _SOC_RTC_CNTL_STRUCT_H_
#define _SOC_RTC_CNTL_STRUCT_H_
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
@@ -706,7 +706,3 @@ extern rtc_cntl_dev_t RTCCNTL;
#ifdef __cplusplus
}
#endif
#endif /*_SOC_RTC_CNTL_STRUCT_H_ */

View File

@@ -3,9 +3,9 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _SOC_SPI_MEM_STRUCT_H_
#define _SOC_SPI_MEM_STRUCT_H_
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
@@ -570,7 +570,3 @@ _Static_assert(sizeof(spi_mem_dev_t) == 0x400, "spi_mem_dev_t size error!");
#ifdef __cplusplus
}
#endif
#endif /*_SOC_SPI_MEM_STRUCT_H_ */

View File

@@ -3,9 +3,9 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _SOC_SYSCON_STRUCT_H_
#define _SOC_SYSCON_STRUCT_H_
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
@@ -474,7 +474,3 @@ extern syscon_dev_t SYSCON;
#ifdef __cplusplus
}
#endif
#endif /*_SOC_SYSCON_STRUCT_H_ */