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 e4301a97dbc482b89bdbb20b101e8d2f2520af8e
Author: hujun5 <[email protected]>
AuthorDate: Tue Mar 24 20:47:31 2026 +0800

    drivers/timers/sp804: include nuttx/arch.h
    
    Include nuttx/arch.h instead of nuttx/irq.h in sp804.c to pull
    in the full arch interface needed by the driver (up_enable_irq()).
    
    Signed-off-by: hujun5 <[email protected]>
---
 drivers/timers/sp804.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/timers/sp804.c b/drivers/timers/sp804.c
index b8cb75c096a..f65348dd541 100644
--- a/drivers/timers/sp804.c
+++ b/drivers/timers/sp804.c
@@ -24,7 +24,7 @@
  * Included Files
  ****************************************************************************/
 
-#include <nuttx/irq.h>
+#include <nuttx/arch.h>
 #include <nuttx/kmalloc.h>
 #include <nuttx/timers/sp804.h>
 

Reply via email to