drivers: mm: refine includes of the header
Refines the `system_mm.h` to include `zephyr/types.h` instead of `zephyr/kernel.h` as that is all it needs. Updated the includes of `mm_drv_ti_rat.c` accordingly. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
16b0a7ba68
commit
0538411c09
2 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
|||
* the address space.
|
||||
*/
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/mm/rat.h>
|
||||
#include <zephyr/drivers/mm/system_mm.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#ifndef ZEPHYR_INCLUDE_DRIVERS_SYSTEM_MM_H_
|
||||
#define ZEPHYR_INCLUDE_DRIVERS_SYSTEM_MM_H_
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/types.h>
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue