This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 81e6622a4bddfedc3378decef243acdfbd56ea0a
Author: yintao <[email protected]>
AuthorDate: Mon Dec 29 21:01:36 2025 +0800

    drivers/video/mipidsi: Include nuttx/mutex.h for nxmutex_lock
    
    mipi_dsi_host_driver.c and mipi_dsi_device_driver.c call nxmutex_lock()
    but only get its declaration indirectly through other headers. Include
    nuttx/mutex.h directly.
    
    Signed-off-by: yintao <[email protected]>
---
 drivers/video/mipidsi/mipi_dsi_device_driver.c | 1 +
 drivers/video/mipidsi/mipi_dsi_host_driver.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/video/mipidsi/mipi_dsi_device_driver.c 
b/drivers/video/mipidsi/mipi_dsi_device_driver.c
index 6b45ce96a0c..06160ca4eca 100644
--- a/drivers/video/mipidsi/mipi_dsi_device_driver.c
+++ b/drivers/video/mipidsi/mipi_dsi_device_driver.c
@@ -30,6 +30,7 @@
 #include <stdio.h>
 
 #include <nuttx/kmalloc.h>
+#include <nuttx/mutex.h>
 
 #include "mipi_dsi.h"
 
diff --git a/drivers/video/mipidsi/mipi_dsi_host_driver.c 
b/drivers/video/mipidsi/mipi_dsi_host_driver.c
index edfd08cc680..6b2c0004c99 100644
--- a/drivers/video/mipidsi/mipi_dsi_host_driver.c
+++ b/drivers/video/mipidsi/mipi_dsi_host_driver.c
@@ -30,6 +30,7 @@
 #include <stdio.h>
 
 #include <nuttx/kmalloc.h>
+#include <nuttx/mutex.h>
 
 #include "mipi_dsi.h"
 

Reply via email to