#include <cfg/macros.h> // MIN()
#include <cfg/compiler.h>
#include <cfg/debug.h>
-#include <cpu/cpu.h>
+#include <cpu/irq.h>
#include <drv/wdt.h>
* Move \a fd file seek position of \a offset bytes
* from current position.
*/
-static int32_t flash_avr_seek(struct _KFile *fd, int32_t offset, KSeekMode whence)
+static int32_t flash_avr_seek(struct _KFile *fd, kfile_off_t offset, KSeekMode whence)
{
uint32_t seek_pos;