drivers: flash: soc_flash_xmc4xxx: Add missing kernel.h header

Fixes build of flash_shell sample after commit
a6a4400b86.
west build -p -b xmc45_relax_kit samples/drivers/flash_shell

Also include stdint.h.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
Andriy Gelman 2022-10-17 11:17:24 -04:00 committed by Carles Cufí
parent 82a887c98d
commit 890e84a6aa

View file

@ -8,8 +8,10 @@
#define FLASH_WRITE_BLK_SZ DT_PROP(DT_INST(0, infineon_xmc4xxx_nv_flash), write_block_size)
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/drivers/flash.h>
#include <zephyr/kernel.h>
#include <xmc_flash.h>