Skip to content

Commit 7720d45

Browse files
committed
arch: arm: mpu: remove arm_core_mpu_enable/disable internal API
arm_core_mpu_enable() and arm_core_mpu_disable() functions are effectively static functions, only used in the drivers for ARM and NXP MPU, therefore, we do not need to expose them in the arm_core_mpu_dev.h header. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent fc06809 commit 7720d45

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

arch/arm/core/cortex_m/mpu/arm_core_mpu_dev.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,6 @@ struct k_thread;
106106
* ARM_MPU support.
107107
*/
108108

109-
/**
110-
* @brief enable the MPU
111-
*/
112-
void arm_core_mpu_enable(void);
113-
114-
/**
115-
* @brief disable the MPU
116-
*/
117-
void arm_core_mpu_disable(void);
118-
119109
/**
120110
* @brief configure a set of fixed (static) MPU regions
121111
*

0 commit comments

Comments
 (0)