drivers/audio/wm8994.c: Include nuttx/arch.h to fix compilation (up_mdelay prototype)

Fix the compilation error:

  audio/wm8994.c: In function 'wm8994_audio_output':
  Error: audio/wm8994.c:1898:3: error: implicit declaration of function 'up_mdelay' [-Werror=implicit-function-declaration]
   1898 |   up_mdelay(40);
        |   ^~~~~~~~~

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2024-11-29 14:31:00 +02:00 committed by Ville Juven
parent 400239877d
commit 140b3080c5

View file

@ -38,6 +38,7 @@
#include <fixedmath.h>
#include <debug.h>
#include <nuttx/arch.h>
#include <nuttx/irq.h>
#include <nuttx/kmalloc.h>
#include <nuttx/clock.h>