drivers/input: fix complie err about undefined

There will be compilation errors about undefined reference to `enter_critical_section'.
Fixed by include irq.h

Signed-off-by: fangpeina <fangpeina@xiaomi.com>
This commit is contained in:
fangpeina 2024-09-14 16:24:49 +08:00 committed by Xiang Xiao
parent 7dcbd235fc
commit 3f1fd42f73
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <nuttx/input/ff.h>
#include <nuttx/kmalloc.h>
#include <nuttx/mutex.h>
#include <nuttx/irq.h>
/****************************************************************************
* Pre-processor Definitions