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:
Yong Cong Sin 2023-09-26 10:32:01 +08:00 committed by Carles Cufí
commit 0538411c09
2 changed files with 2 additions and 1 deletions

View file

@ -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>

View file

@ -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