drivers: gicv3: add zephyr kernel header file
zephyr kernel header file should be included otherwise gcc will report the warning: implicit declaration of function 'k_aligned_alloc' and the return value of 'k_aligned_alloc' will be treated as an int type, which will cause an error on the 64 bits platform. Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
This commit is contained in:
parent
e1e06d05fa
commit
12fa8335a3
@ -4,6 +4,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <zephyr/sw_isr_table.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user